examples/declarative/toys/dynamicscene/dynamicscene.qml
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   134             spacing: 8
   134             spacing: 8
   135 
   135 
   136             Text { text: "Drag an item into the scene." }
   136             Text { text: "Drag an item into the scene." }
   137 
   137 
   138             Rectangle {
   138             Rectangle {
   139                 width: childrenRect.width + 10; height: childrenRect.height + 10
   139                 width: palette.width + 10; height: palette.height + 10
   140                 border.color: "black"
   140                 border.color: "black"
   141 
   141 
   142                 Row {
   142                 Row {
       
   143                     id: palette
   143                     anchors.centerIn: parent
   144                     anchors.centerIn: parent
   144                     spacing: 8
   145                     spacing: 8
   145 
   146 
   146                     PaletteItem {
   147                     PaletteItem {
   147                         anchors.verticalCenter: parent.verticalCenter
   148                         anchors.verticalCenter: parent.verticalCenter