Merge lp:~azzar1/unity/fix-1057798-6.0 into lp:unity/6.0

Proposed by Andrea Azzarone
Status: Merged
Approved by: Łukasz Zemczak
Approved revision: no longer in the source branch.
Merged at revision: 2753
Proposed branch: lp:~azzar1/unity/fix-1057798-6.0
Merge into: lp:unity/6.0
Diff against target: 21 lines (+6/-3)
1 file modified
dash/DashView.cpp (+6/-3)
To merge this branch: bzr merge lp:~azzar1/unity/fix-1057798-6.0
Reviewer Review Type Date Requested Status
Łukasz Zemczak Approve
Review via email: mp+127336@code.launchpad.net

Commit message

Fix rendering of the dash/launcher separator.

Description of the change

== Problem ==
[regression] Dash - Left separator is missing

== Test ==
Visual change - not applicable.

To post a comment you must log in.
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Code - looking good. Tested it locally with 6.0 as well and works.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'dash/DashView.cpp'
2--- dash/DashView.cpp 2012-09-28 13:44:57 +0000
3+++ dash/DashView.cpp 2012-10-01 17:42:20 +0000
4@@ -338,11 +338,14 @@
5 {
6 dash::Style& style = dash::Style::Instance();
7
8+ auto main_layout = new nux::HLayout;
9+ main_layout->SetLeftAndRightPadding(style.GetVSeparatorSize(), 0);
10+ main_layout->SetTopAndBottomPadding(style.GetHSeparatorSize(), 0);
11+ SetLayout(main_layout);
12+
13 layout_ = new nux::VLayout();
14- layout_->SetLeftAndRightPadding(style.GetVSeparatorSize(), 0);
15- layout_->SetTopAndBottomPadding(style.GetHSeparatorSize(), 0);
16- SetLayout(layout_);
17 layout_->SetRedirectRenderingToTexture(true);
18+ main_layout->AddLayout(layout_);
19
20 content_layout_ = new DashLayout(NUX_TRACKER_LOCATION);
21 content_layout_->SetTopAndBottomPadding(style.GetDashViewTopPadding(), 0);

Subscribers

People subscribed via source and target branches