on xenial help sign in
tweak checkmark visuals and margins
a25653aLukáš Tinkl
qml/Wizard/Pages/40-location.qml+8−7
@@ -59,10 +59,10 @@ LocalComponents.Page {
59 id: hereCheckLabel
59 id: hereCheckLabel
60 anchors {
60 anchors {
61 left: parent.left
61 left: parent.left
62− right: parent.right
62+ right: hereTermsCheck.left
63 top: parent.top
63 top: parent.top
64 leftMargin: leftMargin
64 leftMargin: leftMargin
65− rightMargin: rightMargin
65+ rightMargin: units.gu(1)
66 }
66 }
67
67
68 wrapMode: Text.WordWrap
68 wrapMode: Text.WordWrap
@@ -87,11 +87,11 @@ LocalComponents.Page {
87 id: hereTermsLabel
87 id: hereTermsLabel
88 anchors {
88 anchors {
89 left: parent.left
89 left: parent.left
90− right: parent.right
90+ right: hereTermsCheck.left
91 top: hereCheckLabel.bottom
91 top: hereCheckLabel.bottom
92 topMargin: units.gu(1)
92 topMargin: units.gu(1)
93 leftMargin: leftMargin
93 leftMargin: leftMargin
94− rightMargin: rightMargin
94+ rightMargin: units.gu(1)
95 }
95 }
96
96
97 wrapMode: Text.WordWrap
97 wrapMode: Text.WordWrap
@@ -104,8 +104,9 @@ LocalComponents.Page {
104 }
104 }
105
105
106 Image {
106 Image {
107+ id: hereTermsCheck
107 fillMode: Image.PreserveAspectFit
108 fillMode: Image.PreserveAspectFit
108− height: nopeCheckLabel.height / 2
109+ height: nopeCheckLabel.height
109 source: "data/Tick@30.png"
110 source: "data/Tick@30.png"
110 opacity: hereCheckLabel.checked ? 1 : 0
111 opacity: hereCheckLabel.checked ? 1 : 0
111 anchors.right: parent.right
112 anchors.right: parent.right
@@ -154,7 +155,7 @@ LocalComponents.Page {
154
155
155 Image {
156 Image {
156 fillMode: Image.PreserveAspectFit
157 fillMode: Image.PreserveAspectFit
157− height: nopeCheckLabel.height / 2
158+ height: nopeCheckLabel.height
158 source: "data/Tick@30.png"
159 source: "data/Tick@30.png"
159 opacity: gpsCheckLabel.checked ? 1 : 0
160 opacity: gpsCheckLabel.checked ? 1 : 0
160 anchors.right: parent.right
161 anchors.right: parent.right
@@ -203,7 +204,7 @@ LocalComponents.Page {
203
204
204 Image {
205 Image {
205 fillMode: Image.PreserveAspectFit
206 fillMode: Image.PreserveAspectFit
206− height: nopeCheckLabel.height / 2
207+ height: nopeCheckLabel.height
207 source: "data/Tick@30.png"
208 source: "data/Tick@30.png"
208 opacity: nopeCheckLabel.checked ? 1 : 0
209 opacity: nopeCheckLabel.checked ? 1 : 0
209 anchors.right: parent.right
210 anchors.right: parent.right