Skip to content

Commit

Permalink
Fix tst_qquickitemlayer test failures
Browse files Browse the repository at this point in the history
The minimum window width in Windows 7 requires more than 100, so make the
item width to 200 to avoid test failures.

Task-number: QTBUG-24787
Change-Id: I439528a94aed9c54eca0fa68651c84afa4f9ab13
Reviewed-by: Martin Jones <martin.jones@nokia.com>
  • Loading branch information
yinyunqiao authored and Qt by Nokia committed Mar 20, 2012
1 parent 11741f9 commit 70a7c0e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions tests/auto/quick/qquickitemlayer/data/Effect.qml
Expand Up @@ -2,19 +2,19 @@ import QtQuick 2.0

Item
{
width: 100
width: 200
height: 100

Rectangle {
id: box
width: 100
width: 200
height: 100

color: "#0000ff"

Rectangle {
x: 50
width: 50
x: 100
width: 100
height: 100
color: "#00ff00"
}
Expand Down
4 changes: 2 additions & 2 deletions tests/auto/quick/qquickitemlayer/data/SourceRect.qml
Expand Up @@ -2,12 +2,12 @@ import QtQuick 2.0

Item
{
width: 100
width: 200
height: 100

Rectangle {
id: box
width: 100
width: 200
height: 100

color: "#ff0000"
Expand Down
8 changes: 4 additions & 4 deletions tests/auto/quick/qquickitemlayer/data/TextureProvider.qml
Expand Up @@ -2,19 +2,19 @@ import QtQuick 2.0

Item
{
width: 100
width: 200
height: 100

Rectangle {
id: box
width: 100
width: 200
height: 100

color: "#0000ff"

Rectangle {
x: 50
width: 50
x: 100
width: 100
height: 100
color: "#00ff00"
}
Expand Down

0 comments on commit 70a7c0e

Please sign in to comment.