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:
parent
50523a21c9
commit
eea254fea5
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue