diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-03-13 13:07:33 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-03-13 14:47:27 +0000 |
commit | 95fe95a1deb654ca4b6900243b86632ba02f084e (patch) | |
tree | 3f3e599fe78aef1ff675dc3ebd11a3cd4ad0830a /examples/quickcontrols2/wearable/qml/WorldClock | |
parent | f99863a7c9763e4602948783cba723bf24e8d455 (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/WorldClock')
-rw-r--r-- | examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml b/examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml index 5b8a0cd1..cdf96bf2 100644 --- a/examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml +++ b/examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml @@ -98,13 +98,10 @@ Item { } QQC2.PageIndicator { - id: pgWatchIndicator + count: svWatchContainer.count + currentIndex: svWatchContainer.currentIndex anchors.bottom: svWatchContainer.bottom - anchors.bottomMargin: 1 anchors.horizontalCenter: parent.horizontalCenter - - count: svWatchContainer.count - currentIndex: svWatchContainer.currentIndex } } |