diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2010-04-09 03:58:27 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2010-04-09 03:59:41 (GMT) |
commit | 430c50648c78e1e8e3b2747779069fe2a0f14ed9 (patch) | |
tree | ed34ec7431e5e743e354cc143afa816c8aa83367 /tests/auto/declarative | |
parent | fb9f0c5c996f2ba27c43657c49f100daf4729e05 (diff) | |
download | Qt-430c50648c78e1e8e3b2747779069fe2a0f14ed9.zip Qt-430c50648c78e1e8e3b2747779069fe2a0f14ed9.tar.gz Qt-430c50648c78e1e8e3b2747779069fe2a0f14ed9.tar.bz2 |
Fix test after deletion of GraphicsObjectContainer.
Reviewed-by:TrustMe
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/qdeclarativelayouts/data/layouts.qml | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/tests/auto/declarative/qdeclarativelayouts/data/layouts.qml b/tests/auto/declarative/qdeclarativelayouts/data/layouts.qml index 1792500..5c2178f 100644 --- a/tests/auto/declarative/qdeclarativelayouts/data/layouts.qml +++ b/tests/auto/declarative/qdeclarativelayouts/data/layouts.qml @@ -5,29 +5,26 @@ Item { id: resizable width:300 height:300 - - GraphicsObjectContainer { - anchors.fill: parent - synchronizedResizing: true - - QGraphicsWidget { - - layout: QGraphicsLinearLayout { - spacing: 0 - LayoutItem { - objectName: "left" - minimumSize: "100x100" - maximumSize: "300x300" - preferredSize: "100x100" - Rectangle { objectName: "yellowRect"; color: "yellow"; anchors.fill: parent } - } - LayoutItem { - objectName: "right" - minimumSize: "100x100" - maximumSize: "400x400" - preferredSize: "200x200" - Rectangle { objectName: "greenRect"; color: "green"; anchors.fill: parent } - } + QGraphicsWidget { + x : resizable.x + y : resizable.y + width : resizable.width + height : resizable.height + layout: QGraphicsLinearLayout { + spacing: 0 + LayoutItem { + objectName: "left" + minimumSize: "100x100" + maximumSize: "300x300" + preferredSize: "100x100" + Rectangle { objectName: "yellowRect"; color: "yellow"; anchors.fill: parent } + } + LayoutItem { + objectName: "right" + minimumSize: "100x100" + maximumSize: "400x400" + preferredSize: "200x200" + Rectangle { objectName: "greenRect"; color: "green"; anchors.fill: parent } } } } |