on xenial help sign in
remove divider and spacing
57f28a6Lukáš Tinkl
qml/Wizard/Pages/50-timezone.qml+1−14
@@ -166,12 +166,12 @@ LocalComponents.Page {
166 fill: content
166 fill: content
167 leftMargin: desktopLook ? staticMargin : 0
167 leftMargin: desktopLook ? staticMargin : 0
168 rightMargin: desktopLook ? staticMargin : 0
168 rightMargin: desktopLook ? staticMargin : 0
169+ topMargin: customMargin
169 }
170 }
170
171
171 ColumnLayout {
172 ColumnLayout {
172 Layout.fillHeight: true
173 Layout.fillHeight: true
173 Layout.maximumWidth: maximumContentWidth
174 Layout.maximumWidth: maximumContentWidth
174− spacing: units.gu(3)
175
175
176 LocalComponents.WizardTextField {
176 LocalComponents.WizardTextField {
177 id: searchField
177 id: searchField
@@ -180,27 +180,14 @@ LocalComponents.Page {
180 anchors.right: parent.right
180 anchors.right: parent.right
181 anchors.leftMargin: !desktopLook ? staticMargin : 0
181 anchors.leftMargin: !desktopLook ? staticMargin : 0
182 anchors.rightMargin: !desktopLook ? staticMargin : 0
182 anchors.rightMargin: !desktopLook ? staticMargin : 0
183− anchors.top: parent.top
184− anchors.topMargin: units.gu(3)
185 placeholderText: i18n.tr("Enter your city")
183 placeholderText: i18n.tr("Enter your city")
186 inputMethodHints: Qt.ImhNoPredictiveText
184 inputMethodHints: Qt.ImhNoPredictiveText
187 onTextChanged: resetViews();
185 onTextChanged: resetViews();
188 }
186 }
189
187
190− Rectangle {
191− Layout.fillWidth: true
192− anchors.top: searchField.bottom
193− anchors.topMargin: units.gu(2)
194− id: divider
195− height: units.dp(1)
196− color: dividerColor
197− visible: tzList.count > 0
198− }
199−
200 ListView {
188 ListView {
201 Layout.fillHeight: true
189 Layout.fillHeight: true
202 Layout.fillWidth: true
190 Layout.fillWidth: true
203− anchors.top: divider.bottom
204 id: tzList
191 id: tzList
205 objectName: "tzList"
192 objectName: "tzList"
206 clip: true
193 clip: true