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
=== modified file 'app/clock/ClockPage.qml'
--- app/clock/ClockPage.qml 2014-09-04 20:08:39 +0000
+++ app/clock/ClockPage.qml 2014-09-19 15:23:29 +0000
@@ -156,7 +156,6 @@
156 anchors {156 anchors {
157 top: worldCityColumn.bottom157 top: worldCityColumn.bottom
158 topMargin: units.gu(1)158 topMargin: units.gu(1)
159 horizontalCenter: parent.horizontalCenter
160 }159 }
161 }160 }
162161
163162
=== modified file 'app/worldclock/AddWorldCityButton.qml'
--- app/worldclock/AddWorldCityButton.qml 2014-09-04 12:16:59 +0000
+++ app/worldclock/AddWorldCityButton.qml 2014-09-19 15:23:29 +0000
@@ -23,45 +23,47 @@
23AbstractButton {23AbstractButton {
24 id: addWorldCityButton24 id: addWorldCityButton
2525
26 width: childrenRect.width26 width: parent.width
27 height: childrenRect.height27 height: _addButton.height
2828
29 Row {29 Label {
30 spacing: units.gu(1)30 text: i18n.tr("Add")
3131 color: UbuntuColors.midAubergine
32 width: childrenRect.width32 anchors {
33 height: _addButton.height33 right: _addButton.left
3434 rightMargin: units.gu(1)
35 Label {35 verticalCenter: parent.verticalCenter
36 text: i18n.tr("Add")
37 color: UbuntuColors.midAubergine
38 anchors.verticalCenter: parent.verticalCenter
39 }36 }
37 }
38
39 ClockCircle {
40 id: _addButton
41
42 isOuter: true
43 width: units.gu(5)
44 anchors.horizontalCenter: parent.horizontalCenter
4045
41 ClockCircle {46 ClockCircle {
42 id: _addButton47 width: units.gu(3.5)
4348 anchors.centerIn: parent
44 isOuter: true49
45 width: units.gu(5)50 Icon {
46
47 ClockCircle {
48 width: units.gu(3.5)
49 anchors.centerIn: parent51 anchors.centerIn: parent
5052 color: UbuntuColors.coolGrey
51 Icon {53 name: "add"
52 anchors.centerIn: parent54 height: units.gu(2)
53 color: UbuntuColors.coolGrey55 width: height
54 name: "add"
55 height: units.gu(2)
56 width: height
57 }
58 }56 }
59 }57 }
58 }
6059
61 Label {60 Label {
62 text: i18n.tr("City")61 text: i18n.tr("City")
63 color: UbuntuColors.midAubergine62 color: UbuntuColors.midAubergine
64 anchors.verticalCenter: parent.verticalCenter63 anchors {
64 left: _addButton.right
65 leftMargin: units.gu(1)
66 verticalCenter: parent.verticalCenter
65 }67 }
66 }68 }
6769
6870
=== modified file 'debian/changelog'
--- debian/changelog 2014-09-12 19:29:00 +0000
+++ debian/changelog 2014-09-19 15:23:29 +0000
@@ -47,6 +47,10 @@
47 [Dennis O'Flaherty]47 [Dennis O'Flaherty]
48 * Show a message to the user when the alarm list is empty (LP: #1364555)48 * Show a message to the user when the alarm list is empty (LP: #1364555)
4949
50 [Stefano Verzegnassi]
51 * Fixed wrong alignment of "Add city" button when the application is not
52 localized in English. (LP: #1371229)
53
50 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Wed, 13 Aug 2014 15:46:12 +020054 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Wed, 13 Aug 2014 15:46:12 +0200
5155
52ubuntu-clock-app (3.0-0ubuntu1) utopic; urgency=medium56ubuntu-clock-app (3.0-0ubuntu1) utopic; urgency=medium

Subscribers

People subscribed via source and target branches