summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/applicationmanager/minidesk/system-ui/main.qml7
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;
+ }
}
}