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>
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"
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"
}
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"