Merge lp:~verzegnassi-stefano/ubuntu-clock-app/fix-1371229 into lp:ubuntu-clock-app

Proposed by Stefano Verzegnassi
Status: Merged
Approved by: Nekhelesh Ramananthan
Approved revision: 107
Merged at revision: 107
Proposed branch: lp:~verzegnassi-stefano/ubuntu-clock-app/fix-1371229
Merge into: lp:ubuntu-clock-app
Diff against target: 110 lines (+38/-33)
3 files modified
app/clock/ClockPage.qml (+0/-1)
app/worldclock/AddWorldCityButton.qml (+34/-32)
debian/changelog (+4/-0)
To merge this branch: bzr merge lp:~verzegnassi-stefano/ubuntu-clock-app/fix-1371229
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
PS Jenkins bot continuous-integration Needs Fixing
Nekhelesh Ramananthan Approve
Review via email: mp+235274@code.launchpad.net

Commit message

Fixed the wrong alignment of "Add city" button when the application is not localized in English.

Description of the change

Fixed the wrong alignment of "Add city" button when the application is not localized in English.

To post a comment you must log in.
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

LGTM! Nice work and thnx for the patch Stefano. Would you mind updating the debian/changelog file please.

Just nano debian/changelog, and add an entry with your name and bug number as others have done.

review: Approve
Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :

Updated as requested. (Not sure if Launchpad notifies proposed branch changes)

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Perfect! Thanks a lot mate! I cannot merge yet since the jenkins autolander seems broken atm, but it should go in asap.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

FAILED: Autolanding.
More details in the following jenkins job:
http://91.189.93.70:8080/job/ubuntu-clock-app-autolanding/171/
Executed test runs:

review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'app/clock/ClockPage.qml'
2--- app/clock/ClockPage.qml 2014-09-04 20:08:39 +0000
3+++ app/clock/ClockPage.qml 2014-09-19 15:23:29 +0000
4@@ -156,7 +156,6 @@
5 anchors {
6 top: worldCityColumn.bottom
7 topMargin: units.gu(1)
8- horizontalCenter: parent.horizontalCenter
9 }
10 }
11
12
13=== modified file 'app/worldclock/AddWorldCityButton.qml'
14--- app/worldclock/AddWorldCityButton.qml 2014-09-04 12:16:59 +0000
15+++ app/worldclock/AddWorldCityButton.qml 2014-09-19 15:23:29 +0000
16@@ -23,45 +23,47 @@
17 AbstractButton {
18 id: addWorldCityButton
19
20- width: childrenRect.width
21- height: childrenRect.height
22-
23- Row {
24- spacing: units.gu(1)
25-
26- width: childrenRect.width
27- height: _addButton.height
28-
29- Label {
30- text: i18n.tr("Add")
31- color: UbuntuColors.midAubergine
32- anchors.verticalCenter: parent.verticalCenter
33+ width: parent.width
34+ height: _addButton.height
35+
36+ Label {
37+ text: i18n.tr("Add")
38+ color: UbuntuColors.midAubergine
39+ anchors {
40+ right: _addButton.left
41+ rightMargin: units.gu(1)
42+ verticalCenter: parent.verticalCenter
43 }
44+ }
45+
46+ ClockCircle {
47+ id: _addButton
48+
49+ isOuter: true
50+ width: units.gu(5)
51+ anchors.horizontalCenter: parent.horizontalCenter
52
53 ClockCircle {
54- id: _addButton
55-
56- isOuter: true
57- width: units.gu(5)
58-
59- ClockCircle {
60- width: units.gu(3.5)
61+ width: units.gu(3.5)
62+ anchors.centerIn: parent
63+
64+ Icon {
65 anchors.centerIn: parent
66-
67- Icon {
68- anchors.centerIn: parent
69- color: UbuntuColors.coolGrey
70- name: "add"
71- height: units.gu(2)
72- width: height
73- }
74+ color: UbuntuColors.coolGrey
75+ name: "add"
76+ height: units.gu(2)
77+ width: height
78 }
79 }
80+ }
81
82- Label {
83- text: i18n.tr("City")
84- color: UbuntuColors.midAubergine
85- anchors.verticalCenter: parent.verticalCenter
86+ Label {
87+ text: i18n.tr("City")
88+ color: UbuntuColors.midAubergine
89+ anchors {
90+ left: _addButton.right
91+ leftMargin: units.gu(1)
92+ verticalCenter: parent.verticalCenter
93 }
94 }
95
96
97=== modified file 'debian/changelog'
98--- debian/changelog 2014-09-12 19:29:00 +0000
99+++ debian/changelog 2014-09-19 15:23:29 +0000
100@@ -47,6 +47,10 @@
101 [Dennis O'Flaherty]
102 * Show a message to the user when the alarm list is empty (LP: #1364555)
103
104+ [Stefano Verzegnassi]
105+ * Fixed wrong alignment of "Add city" button when the application is not
106+ localized in English. (LP: #1371229)
107+
108 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Wed, 13 Aug 2014 15:46:12 +0200
109
110 ubuntu-clock-app (3.0-0ubuntu1) utopic; urgency=medium

Subscribers

People subscribed via source and target branches