diff options
author | Bernd Weimer <bernd.weimer@pelagicore.com> | 2018-12-18 18:16:58 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2018-12-19 14:55:19 +0000 |
commit | 964102bd90aa88cee14eac85678e862b1bc878c8 (patch) | |
tree | fbf46d0d3e8c23c3fd87b7f968259ebe7ba28a59 | |
parent | 3034a2676b6820bb049b1224e96cf3e884b4155a (diff) |
Fix minidesk window positioning
Change-Id: I56eeb35bd6d7273dbe01ddf02ebbd6f6005486bc
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
-rw-r--r-- | examples/applicationmanager/minidesk/system-ui/main.qml | 7 |
1 files 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; + } } } |