diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml b/examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml index 64f92f60..a6e67e8c 100644 --- a/examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml +++ b/examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml @@ -54,9 +54,6 @@ import "../Style" Item { id: clock - width: UIStyle.visibleDiameter - height: UIStyle.visibleDiameter - property int hours property int minutes property int seconds @@ -86,9 +83,7 @@ Item { } Item { - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: parent.top - anchors.topMargin: 2 + anchors.centerIn: parent width: 200 height: 220 |