summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeimage/data/aspectratio.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativeimage/data/aspectratio.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeimage/data/aspectratio.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeimage/data/aspectratio.qml b/tests/auto/declarative/qdeclarativeimage/data/aspectratio.qml
new file mode 100644
index 0000000..402d33e
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeimage/data/aspectratio.qml
@@ -0,0 +1,6 @@
+import Qt 4.7
+
+Image {
+ source: "heart.png"
+ fillMode: Image.PreserveAspectFit;
+}