diff options
author | Charles Yin <charles.yin@nokia.com> | 2012-03-20 11:14:23 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-20 05:37:59 +0100 |
commit | 70a7c0e9f9417c5c3b1697f6aa71faff1cac214c (patch) | |
tree | c49adcca437cf85bb094f95a185e377c186d045e /tests | |
parent | 11741f9d778ab1f2221b9b568e16920ad8dca393 (diff) |
Fix tst_qquickitemlayer test failures
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/quick/qquickitemlayer/data/Effect.qml | 8 | ||||
-rw-r--r-- | tests/auto/quick/qquickitemlayer/data/SourceRect.qml | 4 | ||||
-rw-r--r-- | tests/auto/quick/qquickitemlayer/data/TextureProvider.qml | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/tests/auto/quick/qquickitemlayer/data/Effect.qml b/tests/auto/quick/qquickitemlayer/data/Effect.qml index 630c8f90ed..678f86538d 100644 --- a/tests/auto/quick/qquickitemlayer/data/Effect.qml +++ b/tests/auto/quick/qquickitemlayer/data/Effect.qml @@ -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" } diff --git a/tests/auto/quick/qquickitemlayer/data/SourceRect.qml b/tests/auto/quick/qquickitemlayer/data/SourceRect.qml index 7cc7e8b21e..a161760028 100644 --- a/tests/auto/quick/qquickitemlayer/data/SourceRect.qml +++ b/tests/auto/quick/qquickitemlayer/data/SourceRect.qml @@ -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" diff --git a/tests/auto/quick/qquickitemlayer/data/TextureProvider.qml b/tests/auto/quick/qquickitemlayer/data/TextureProvider.qml index ccd515652a..427bd41310 100644 --- a/tests/auto/quick/qquickitemlayer/data/TextureProvider.qml +++ b/tests/auto/quick/qquickitemlayer/data/TextureProvider.qml @@ -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" } |