aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-03-13 13:07:33 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-03-13 14:47:27 +0000
commit95fe95a1deb654ca4b6900243b86632ba02f084e (patch)
tree3f3e599fe78aef1ff675dc3ebd11a3cd4ad0830a /examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml
parentf99863a7c9763e4602948783cba723bf24e8d455 (diff)
Wearable: tweak the page indicators
Move bottom margin from anchors as bottom padding to define it once. Change-Id: I2a93f86e2029c38f1d39555a55d969faec716d04 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml')
-rw-r--r--examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml b/examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml
index 88d5c133..1f24c214 100644
--- a/examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml
+++ b/examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml
@@ -319,14 +319,11 @@ Item {
}
QQC2.PageIndicator {
- id: pgWeatherIndicator
+ count: svWeatherContainer.count
+ currentIndex: svWeatherContainer.currentIndex
anchors.bottom: svWeatherContainer.bottom
- anchors.bottomMargin: 1
anchors.horizontalCenter: parent.horizontalCenter
-
- count: svWeatherContainer.count
- currentIndex: svWeatherContainer.currentIndex
}
Component.onCompleted: {
WeatherData.requestWeatherData(wDataCntr)