on xenial help sign in
restore the always-visible map, fix aspect ration in that case
cffa644Lukáš Tinkl
qml/Wizard/Pages/50-timezone.qml+3−3
@@ -201,13 +201,13 @@ LocalComponents.Page {
201 Layout.fillWidth: desktopLook
201 Layout.fillWidth: desktopLook
202 Layout.fillHeight: true
202 Layout.fillHeight: true
203 id: mapContainer
203 id: mapContainer
204− visible: desktopLook && !contentAnimationRunning && !Qt.inputMethod.visible
204+ visible: desktopLook && !contentAnimationRunning
205 enabled: visible
205 enabled: visible
206
206
207 Item {
207 Item {
208 id: map
208 id: map
209− width: parent.width
210− height: width / 1.95 // keep our aspect ratio
209+ width: Math.min(parent.width, height * 1.95) // keep our aspect ratio
210+ height: parent.height
211 anchors {
211 anchors {
212 centerIn: parent
212 centerIn: parent
213 }
213 }