summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-29 00:54:43 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-07-29 00:54:43 (GMT)
commitf3f50543beebc41c69ac3a3fb296275fab12b604 (patch)
tree3cdc9c27db99c0f99a7d4cf68562504e25addcb5 /examples
parent26d5ee6ecd9c2896427e3b40d923b603c30a1bf6 (diff)
downloadQt-f3f50543beebc41c69ac3a3fb296275fab12b604.zip
Qt-f3f50543beebc41c69ac3a3fb296275fab12b604.tar.gz
Qt-f3f50543beebc41c69ac3a3fb296275fab12b604.tar.bz2
Avoid binding loop warnings
Task-number: QTBUG-12469
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/toys/dynamicscene/dynamicscene.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/declarative/toys/dynamicscene/dynamicscene.qml b/examples/declarative/toys/dynamicscene/dynamicscene.qml
index 2a22a5f..d1055cd 100644
--- a/examples/declarative/toys/dynamicscene/dynamicscene.qml
+++ b/examples/declarative/toys/dynamicscene/dynamicscene.qml
@@ -136,10 +136,11 @@ Item {
Text { text: "Drag an item into the scene." }
Rectangle {
- width: childrenRect.width + 10; height: childrenRect.height + 10
+ width: palette.width + 10; height: palette.height + 10
border.color: "black"
Row {
+ id: palette
anchors.centerIn: parent
spacing: 8