summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-29 00:54:43 (GMT)
committerToby Tomkins <toby.tomkins@nokia.com>2010-07-29 07:08:37 (GMT)
commitaca0fb5feed92623e1aa3f266059aa39d42ce7d9 (patch)
tree6b2adfce1609af2813e0c114d757f5ffc7a63ced /examples
parentf897bee4ef26c88203b066809b221711aca90e2a (diff)
downloadQt-aca0fb5feed92623e1aa3f266059aa39d42ce7d9.zip
Qt-aca0fb5feed92623e1aa3f266059aa39d42ce7d9.tar.gz
Qt-aca0fb5feed92623e1aa3f266059aa39d42ce7d9.tar.bz2
Avoid binding loop warnings
Task-number: QTBUG-12469 (cherry picked from commit f3f50543beebc41c69ac3a3fb296275fab12b604)
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