Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeitem / data / childrenRectBug.qml
1 import QtQuick 1.0
2
3 Rectangle {
4     width: 400
5     height: 200
6
7     Item {
8         objectName: "theItem"
9         anchors.centerIn: parent
10         width: childrenRect.width
11         height: childrenRect.height
12         Rectangle {
13             id: text1
14             anchors.verticalCenter: parent.verticalCenter
15             width: 100; height: 100; color: "green"
16         }
17         Rectangle {
18             anchors.left: text1.right
19             anchors.verticalCenter: parent.verticalCenter
20             width: 100; height: 100; color: "green"
21         }
22     }
23 }