examples/declarative/toys/dynamicscene/dynamicscene.qml
changeset 37 758a864f9613
parent 33 3e2da88830cd
--- a/examples/declarative/toys/dynamicscene/dynamicscene.qml	Fri Sep 17 08:34:18 2010 +0300
+++ b/examples/declarative/toys/dynamicscene/dynamicscene.qml	Mon Oct 04 01:19:32 2010 +0300
@@ -136,10 +136,11 @@
             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