@@ -30,7 +30,7 @@ LocalComponents.Page {
30 forwardButtonSourceComponent: forwardButton
30 forwardButtonSourceComponent: forwardButton
32 property string selectedTimeZone: ""
32 property string selectedTimeZone: ""
33− readonly property bool showingMap: desktopLook && width >= units.gu(110)
33+ readonly property bool showingMap: wideMode && width >= units.gu(110)
35 // for testing
35 // for testing
36 readonly property alias tdModule: timeDatePanel
36 readonly property alias tdModule: timeDatePanel
@@ -104,7 +104,7 @@ LocalComponents.Page {
105 anchors.verticalCenter: parent.verticalCenter
105 anchors.verticalCenter: parent.verticalCenter
106 anchors.left: parent.left
106 anchors.left: parent.left
107− anchors.leftMargin: !desktopLook ? staticMargin : 0
107+ anchors.leftMargin: !wideMode ? staticMargin : 0
108 anchors.right: image.left
108 anchors.right: image.left
109 anchors.rightMargin: units.gu(2)
109 anchors.rightMargin: units.gu(2)
@@ -131,7 +131,7 @@ LocalComponents.Page {
131 anchors {
131 anchors {
132 right: parent.right
132 right: parent.right
133 verticalCenter: parent.verticalCenter
133 verticalCenter: parent.verticalCenter
134− rightMargin: !desktopLook ? staticMargin : 0
134+ rightMargin: !wideMode ? staticMargin : 0
136 fillMode: Image.PreserveAspectFit
136 fillMode: Image.PreserveAspectFit
137 height: units.gu(1.5)
137 height: units.gu(1.5)
@@ -161,8 +161,8 @@ LocalComponents.Page {
161 top: content.top
161 top: content.top
162 bottom: content.bottom
162 bottom: content.bottom
163 right: !showingMap ? content.right : undefined
163 right: !showingMap ? content.right : undefined
164− leftMargin: showingMap ? staticMargin : (desktopLook ? tzPage.leftMargin : 0)
164+ leftMargin: showingMap ? staticMargin : (wideMode ? tzPage.leftMargin : 0)
165− rightMargin: showingMap ? staticMargin : (desktopLook ? tzPage.rightMargin : 0)
165+ rightMargin: showingMap ? staticMargin : (wideMode ? tzPage.rightMargin : 0)
166 topMargin: customMargin
166 topMargin: customMargin
@@ -173,8 +173,8 @@ LocalComponents.Page {
173 objectName: "tzFilter"
173 objectName: "tzFilter"
174 anchors.left: parent.left
174 anchors.left: parent.left
175 anchors.right: parent.right
175 anchors.right: parent.right
176− anchors.leftMargin: !showingMap && !desktopLook ? staticMargin : undefined
176+ anchors.leftMargin: !showingMap && !wideMode ? staticMargin : undefined
177− anchors.rightMargin: !showingMap && !desktopLook ? staticMargin : undefined
177+ anchors.rightMargin: !showingMap && !wideMode ? staticMargin : undefined
178 placeholderText: i18n.tr("Enter your city")
178 placeholderText: i18n.tr("Enter your city")
179 inputMethodHints: Qt.ImhNoPredictiveText
179 inputMethodHints: Qt.ImhNoPredictiveText
180 onTextChanged: resetViews();
180 onTextChanged: resetViews();