diff options
author | aavit <qt-info@nokia.com> | 2010-11-25 10:53:15 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2010-11-25 10:53:15 (GMT) |
commit | b3df558742f6eab6971f2c483bba19c308b7d1ff (patch) | |
tree | 0554273c6258ffae75c790d0b7ab2a8aa856ed20 /tests/auto/declarative/qmlvisual/fillmode/fillmode.qml | |
parent | d3ac35fdc0d5580946f886208e081634cbef6fbb (diff) | |
parent | 25c9b6ed488b1446cbdd38186992957264596314 (diff) | |
download | Qt-b3df558742f6eab6971f2c483bba19c308b7d1ff.zip Qt-b3df558742f6eab6971f2c483bba19c308b7d1ff.tar.gz Qt-b3df558742f6eab6971f2c483bba19c308b7d1ff.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2
Diffstat (limited to 'tests/auto/declarative/qmlvisual/fillmode/fillmode.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/fillmode/fillmode.qml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/declarative/qmlvisual/fillmode/fillmode.qml b/tests/auto/declarative/qmlvisual/fillmode/fillmode.qml index 2ac98da..b2ecfee 100644 --- a/tests/auto/declarative/qmlvisual/fillmode/fillmode.qml +++ b/tests/auto/declarative/qmlvisual/fillmode/fillmode.qml @@ -6,16 +6,16 @@ import QtQuick 1.0 */ Rectangle { - id: screen; width: 750; height: 600; color: "gray" + id: screen; width: 360; height: 200; color: "gray" property string source: "face.png" Grid { columns: 3 - Image { width: 250; height: 300; source: screen.source; fillMode: Image.Stretch } - Image { width: 250; height: 300; source: screen.source; fillMode: Image.PreserveAspectFit; smooth: true } - Image { width: 250; height: 300; source: screen.source; fillMode: Image.PreserveAspectCrop } - Image { width: 250; height: 300; source: screen.source; fillMode: Image.Tile; smooth: true } - Image { width: 250; height: 300; source: screen.source; fillMode: Image.TileHorizontally } - Image { width: 250; height: 300; source: screen.source; fillMode: Image.TileVertically } + Image { width: 120; height: 100; source: screen.source; fillMode: Image.Stretch } + Image { width: 120; height: 100; source: screen.source; fillMode: Image.PreserveAspectFit; smooth: true } + Image { width: 120; height: 100; source: screen.source; fillMode: Image.PreserveAspectCrop } + Image { width: 120; height: 100; source: screen.source; fillMode: Image.Tile; smooth: true } + Image { width: 120; height: 100; source: screen.source; fillMode: Image.TileHorizontally } + Image { width: 120; height: 100; source: screen.source; fillMode: Image.TileVertically } } } |