aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.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/Fitness/FitnessPage.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/Fitness/FitnessPage.qml')
-rw-r--r--examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml b/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml
index 2f9f4615..392c2a56 100644
--- a/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml
+++ b/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml
@@ -125,13 +125,10 @@ Item {
}
QQ2.PageIndicator {
- id: pgFitnessIndicator
+ count: svFitnessContainer.count
+ currentIndex: svFitnessContainer.currentIndex
anchors.bottom: svFitnessContainer.bottom
- anchors.bottomMargin: 1
anchors.horizontalCenter: parent.horizontalCenter
-
- count: svFitnessContainer.count
- currentIndex: svFitnessContainer.currentIndex
}
}