diff options
Diffstat (limited to 'tests/auto/declarative/anchors/data/illegal1.qml')
-rw-r--r-- | tests/auto/declarative/anchors/data/illegal1.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/anchors/data/illegal1.qml b/tests/auto/declarative/anchors/data/illegal1.qml index 1d23110..0a960d0 100644 --- a/tests/auto/declarative/anchors/data/illegal1.qml +++ b/tests/auto/declarative/anchors/data/illegal1.qml @@ -1,10 +1,10 @@ import Qt 4.6 -Rect { +Rectangle { id: rect width: 120; height: 200; color: "white" - Rect { id: TheRect; width: 100; height: 100 } - Rect { + Rectangle { id: TheRect; width: 100; height: 100 } + Rectangle { anchors.left: TheRect.left anchors.right: TheRect.right anchors.horizontalCenter: TheRect.horizontalCenter |