restore the always-visible map, fix aspect ration in that case
commitcffa6443d11155fa380ad5d697d6bc5a141db093
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateWed 2 Mar 2016, 21:47 (11 years ago)
parenteb36a03
qml/Wizard/Pages/50-timezone.qml+3−3
@@ -201,13 +201,13 @@ LocalComponents.Page {
201201 Layout.fillWidth: desktopLook
202202 Layout.fillHeight: true
203203 id: mapContainer
204− visible: desktopLook && !contentAnimationRunning && !Qt.inputMethod.visible
204+ visible: desktopLook && !contentAnimationRunning
205205 enabled: visible
206206
207207 Item {
208208 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
211211 anchors {
212212 centerIn: parent
213213 }