Merge lp:~nick-dedekind/ubuntu-settings-components/standard-item-preferred-values into lp:~registry/ubuntu-settings-components/trunk

Proposed by Nick Dedekind
Status: Merged
Approved by: Andrea Cimitan
Approved revision: 88
Merged at revision: 91
Proposed branch: lp:~nick-dedekind/ubuntu-settings-components/standard-item-preferred-values
Merge into: lp:~registry/ubuntu-settings-components/trunk
Diff against target: 43 lines (+4/-7)
3 files modified
plugins/Ubuntu/Settings/Menus/GroupedMessageMenu.qml (+2/-2)
plugins/Ubuntu/Settings/Menus/StandardMenu.qml (+0/-3)
plugins/Ubuntu/Settings/Menus/UserSessionMenu.qml (+2/-2)
To merge this branch: bzr merge lp:~nick-dedekind/ubuntu-settings-components/standard-item-preferred-values
Reviewer Review Type Date Requested Status
Andrea Cimitan (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+257871@code.launchpad.net

Commit message

Don't use preferred values inside Standard item compoonent Loader.

Description of the change

Don't use preferred values inside Standard item compoonent Loader.

 * Are there any related MPs required for this MP to build/function as expected? Please list.
No

 * Did you perform an exploratory manual test run of your code change and any related functionality?
Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A

 * If you changed the UI, has there been a design review?
N/A

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
 * Did CI run pass? If not, please explain why.
Yes

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/Ubuntu/Settings/Menus/GroupedMessageMenu.qml'
2--- plugins/Ubuntu/Settings/Menus/GroupedMessageMenu.qml 2014-08-14 11:51:14 +0000
3+++ plugins/Ubuntu/Settings/Menus/GroupedMessageMenu.qml 2015-04-30 11:11:20 +0000
4@@ -33,8 +33,8 @@
5
6 component: Component {
7 UbuntuShape {
8- height: label.implicitHeight + units.gu(2)
9- width: label.implicitWidth + units.gu(2)
10+ implicitHeight: label.implicitHeight + units.gu(2)
11+ implicitWidth: label.implicitWidth + units.gu(2)
12
13 color: Theme.palette.normal.backgroundText
14 radius: "medium"
15
16=== modified file 'plugins/Ubuntu/Settings/Menus/StandardMenu.qml'
17--- plugins/Ubuntu/Settings/Menus/StandardMenu.qml 2014-09-22 16:37:31 +0000
18+++ plugins/Ubuntu/Settings/Menus/StandardMenu.qml 2015-04-30 11:11:20 +0000
19@@ -74,9 +74,6 @@
20 id: componentLoader
21 asynchronous: false
22 visible: status == Loader.Ready
23-
24- Layout.preferredHeight: item ? item.height : 0
25- Layout.preferredWidth: item ? item.width : 0
26 }
27 }
28 }
29
30=== modified file 'plugins/Ubuntu/Settings/Menus/UserSessionMenu.qml'
31--- plugins/Ubuntu/Settings/Menus/UserSessionMenu.qml 2014-08-14 11:51:14 +0000
32+++ plugins/Ubuntu/Settings/Menus/UserSessionMenu.qml 2015-04-30 11:11:20 +0000
33@@ -30,8 +30,8 @@
34 Rectangle {
35 id: activeIcon
36 objectName: "activeIcon"
37- width: checkMark.width + units.gu(1.5)
38- height: checkMark.height + units.gu(1.5)
39+ implicitWidth: checkMark.width + units.gu(1.5)
40+ implicitHeight: checkMark.height + units.gu(1.5)
41 radius: width / 2
42 antialiasing: true
43 color: Theme.palette.normal.backgroundText

Subscribers

People subscribed via source and target branches

to all changes: