Merge lp:~azzar1/unity/lp-1384242 into lp:unity

Proposed by Andrea Azzarone
Status: Merged
Approved by: Christopher Townsend
Approved revision: no longer in the source branch.
Merged at revision: 3895
Proposed branch: lp:~azzar1/unity/lp-1384242
Merge into: lp:unity
Diff against target: 13 lines (+1/-2)
1 file modified
lockscreen/UserPromptView.cpp (+1/-2)
To merge this branch: bzr merge lp:~azzar1/unity/lp-1384242
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Stephen M. Webb (community) Needs Fixing
Marco Trevisan (Treviño) Approve
Brandon Schaefer (community) Approve
Review via email: mp+239185@code.launchpad.net

Commit message

Set the correct size for the lockscreen message.

To post a comment you must log in.
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

DOES NOT LOOK GOOD TO ME (just kidding)

review: Approve
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) :
review: Approve
Revision history for this message
Stephen M. Webb (bregma) wrote :

FTBFS (see inline comments).

review: Needs Fixing
Revision history for this message
Andrea Azzarone (azzar1) wrote :

Fixed.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lockscreen/UserPromptView.cpp'
2--- lockscreen/UserPromptView.cpp 2014-08-25 20:46:31 +0000
3+++ lockscreen/UserPromptView.cpp 2014-11-28 13:29:17 +0000
4@@ -370,8 +370,7 @@
5 view->SetFont(Settings::Instance().font_name());
6 view->SetTextColor(color);
7 view->SetText(message);
8- view->SetMaximumWidth(geo.width);
9-
10+ view->SetMaximumWidth(geo.width - PADDING.CP(scale)*2);
11 msg_layout_->AddView(view);
12
13 GetLayout()->ComputeContentPosition(0, 0);