From 964102bd90aa88cee14eac85678e862b1bc878c8 Mon Sep 17 00:00:00 2001 From: Bernd Weimer Date: Tue, 18 Dec 2018 18:16:58 +0100 Subject: Fix minidesk window positioning Change-Id: I56eeb35bd6d7273dbe01ddf02ebbd6f6005486bc Reviewed-by: Robert Griebl --- examples/applicationmanager/minidesk/system-ui/main.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/applicationmanager/minidesk/system-ui/main.qml b/examples/applicationmanager/minidesk/system-ui/main.qml index e0b2edec..d004ce0a 100644 --- a/examples/applicationmanager/minidesk/system-ui/main.qml +++ b/examples/applicationmanager/minidesk/system-ui/main.qml @@ -89,8 +89,6 @@ Rectangle { delegate: Rectangle { width: 400; height: 320 - x: 300 + model.index * 50; - y: 10 + model.index * 30; z: model.index color: "tan" @@ -129,6 +127,11 @@ Rectangle { } } } + + Component.onCompleted: { + x = 300 + model.index * 50; + y = 10 + model.index * 30; + } } } -- cgit v1.2.3