diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-04-19 04:47:11 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-04-19 04:51:21 (GMT) |
commit | 16d2b97e03ff99583ab25977880affecc1c4463b (patch) | |
tree | 789958aaa319d18b49a56ef58df8401881d83934 /tests/auto/declarative/qdeclarativeimage/data | |
parent | 7de92b5b4cee9179d7163a477c03ed411c3975d6 (diff) | |
download | Qt-16d2b97e03ff99583ab25977880affecc1c4463b.zip Qt-16d2b97e03ff99583ab25977880affecc1c4463b.tar.gz Qt-16d2b97e03ff99583ab25977880affecc1c4463b.tar.bz2 |
QDeclarativeImage should stretch in one direction when tiling in the other.
Task-number: QTBUG-6716
Reviewed-by: Michael Brasser
Diffstat (limited to 'tests/auto/declarative/qdeclarativeimage/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativeimage/data/green.png | bin | 0 -> 314 bytes | |||
-rw-r--r-- | tests/auto/declarative/qdeclarativeimage/data/tiling.qml | 16 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeimage/data/green.png b/tests/auto/declarative/qdeclarativeimage/data/green.png Binary files differnew file mode 100644 index 0000000..0a2e153 --- /dev/null +++ b/tests/auto/declarative/qdeclarativeimage/data/green.png diff --git a/tests/auto/declarative/qdeclarativeimage/data/tiling.qml b/tests/auto/declarative/qdeclarativeimage/data/tiling.qml new file mode 100644 index 0000000..32839bb --- /dev/null +++ b/tests/auto/declarative/qdeclarativeimage/data/tiling.qml @@ -0,0 +1,16 @@ +import Qt 4.7 + +Rectangle { + width: 800; height: 600 + + Image { + objectName: "vTiling"; height: 550; width: 200 + source: "green.png"; fillMode: Image.TileVertically + } + + Image { + objectName: "hTiling"; x: 225; height: 250; width: 550 + source: "green.png"; fillMode: Image.TileHorizontally + } +} + |