@@ -104,7 +104,7 @@ LocalComponents.Page {
104 leftMargin: leftMargin
104 leftMargin: leftMargin
106 fillMode: Image.PreserveAspectFit
106 fillMode: Image.PreserveAspectFit
107− height: apName.height
107+ height: accessPoint.height
109 source: getAPIcon(accessPoint.adHoc, accessPoint.signalStrength, accessPoint.secure)
109 source: getAPIcon(accessPoint.adHoc, accessPoint.signalStrength, accessPoint.secure)
@@ -149,8 +149,6 @@ LocalComponents.Page {
149 spacing: units.gu(2)
149 spacing: units.gu(2)
150 anchors {
150 anchors {
151 fill: content
151 fill: content
152− leftMargin: leftMargin
153− rightMargin: rightMargin
154 topMargin: customMargin
152 topMargin: customMargin
@@ -158,6 +156,7 @@ LocalComponents.Page {
158 id: label
156 id: label
159 anchors.left: parent.left
157 anchors.left: parent.left
160 anchors.right: parent.right
158 anchors.right: parent.right
159+ anchors.leftMargin: leftMargin
161 font.weight: Font.Light
160 font.weight: Font.Light
162 color: "#68064d"
161 color: "#68064d"
163 text: listview.count > 0 ? i18n.tr("Available Wi-Fi networks")
162 text: listview.count > 0 ? i18n.tr("Available Wi-Fi networks")
@@ -177,7 +176,7 @@ LocalComponents.Page {
178 readonly property bool isAccessPoint: model.type === "unity.widgets.systemsettings.tablet.accesspoint"
177 readonly property bool isAccessPoint: model.type === "unity.widgets.systemsettings.tablet.accesspoint"
180− height: isAccessPoint ? units.gu(6) : 0
179+ height: !!sourceComponent ? units.gu(6) : 0
181 anchors.left: parent.left
180 anchors.left: parent.left
182 anchors.right: parent.right
181 anchors.right: parent.right
183 asynchronous: true
182 asynchronous: true