Change test size so there is enough detail on each platform.

Sometimes this test would fail if the window manager didn't
create the window at the requested size.

Change-Id: I97e0c139694040950b3ec116899fcf04a0194d55
Reviewed-by: Martin Jones <martin.jones@nokia.com>
This commit is contained in:
Glenn Watson 2012-05-04 08:52:08 +10:00 committed by Qt by Nokia
parent 50523a21c9
commit eea254fea5
2 changed files with 18 additions and 18 deletions

View File

@ -2,18 +2,18 @@ import QtQuick 2.0
import Test 1.0
Rectangle {
width: 200
height: 200
width: 320
height: 480
color: "black"
Rectangle {
width: 200
height: 100
width: 320
height: 240
anchors.centerIn: parent
clip: true
color: "white"
Rectangle {
width: 100
height: 100
width: 160
height: 240
anchors.centerIn: parent
rotation: 45
color: "blue"

View File

@ -4,13 +4,13 @@ import Test 1.0
Rectangle {
id: root
width: 200
height: 200
width: 320
height: 480
color: "black"
Rectangle {
width: 100
height: 100
width: 160
height: 240
anchors.top: parent.top
anchors.left: parent.left
color: "red"
@ -18,32 +18,32 @@ Rectangle {
}
Rectangle {
width: 100
height: 100
width: 160
height: 240
anchors.bottom: parent.bottom
anchors.left: parent.left
color: "red"
}
ClearItem {
width: 100
height: 100
width: 160
height: 240
anchors.centerIn: parent
color: "white"
clip: true
}
Rectangle {
width: 100
height: 100
width: 160
height: 240
anchors.top: parent.top
anchors.right: parent.right
color: "blue"
}
Rectangle {
width: 100
height: 100
width: 160
height: 240
anchors.bottom: parent.bottom
anchors.right: parent.right
color: "blue"