From 610e34bcaa0de29d38f5fae4d169da7efc79dc5f Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 13 Mar 2017 13:33:45 +0100 Subject: Wearable: center align the world clocks Change-Id: I9389597db13acee93e66ee6979fae5e2dd5a0e90 Reviewed-by: Mitch Curtis --- examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3