on xenial help sign in
improve margins and delegate
commit5d38b765bd2dbd50dc171b45494b2cbcc2d33188 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 17 Sep 2015, 11:00 (11 years ago) parentd8724d2
1 file changed+3−4
qml/Wizard/Pages/30-wifi.qml+3−4
qml/Wizard/Pages/30-wifi.qml+3−4
@@ -104,7 +104,7 @@ LocalComponents.Page {
104104 leftMargin: leftMargin
105105 }
106106 fillMode: Image.PreserveAspectFit
107− height: apName.height
107+ height: accessPoint.height
108108
109109 source: getAPIcon(accessPoint.adHoc, accessPoint.signalStrength, accessPoint.secure)
110110 }
@@ -149,8 +149,6 @@ LocalComponents.Page {
149149 spacing: units.gu(2)
150150 anchors {
151151 fill: content
152− leftMargin: leftMargin
153− rightMargin: rightMargin
154152 topMargin: customMargin
155153 }
156154
@@ -158,6 +156,7 @@ LocalComponents.Page {
158156 id: label
159157 anchors.left: parent.left
160158 anchors.right: parent.right
159+ anchors.leftMargin: leftMargin
161160 font.weight: Font.Light
162161 color: "#68064d"
163162 text: listview.count > 0 ? i18n.tr("Available Wi-Fi networks")
@@ -177,7 +176,7 @@ LocalComponents.Page {
177176
178177 readonly property bool isAccessPoint: model.type === "unity.widgets.systemsettings.tablet.accesspoint"
179178
180− height: isAccessPoint ? units.gu(6) : 0
179+ height: !!sourceComponent ? units.gu(6) : 0
181180 anchors.left: parent.left
182181 anchors.right: parent.right
183182 asynchronous: true