summaryrefslogtreecommitdiffstats
path: root/examples/declarative/aspectratio
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-28 05:27:42 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-28 05:27:42 (GMT)
commita8f312c84d2c21f8f1c21a99f3dd3428fd16b2fa (patch)
treecf77131c792a8c56fb135749db5c370495c9e40a /examples/declarative/aspectratio
parent1e7318348848ff7f51446ae90021051a494e3cb8 (diff)
downloadQt-a8f312c84d2c21f8f1c21a99f3dd3428fd16b2fa.zip
Qt-a8f312c84d2c21f8f1c21a99f3dd3428fd16b2fa.tar.gz
Qt-a8f312c84d2c21f8f1c21a99f3dd3428fd16b2fa.tar.bz2
cleanup
Diffstat (limited to 'examples/declarative/aspectratio')
-rw-r--r--examples/declarative/aspectratio/scale_and_crop_simple.qml2
-rw-r--r--examples/declarative/aspectratio/scale_to_fit_simple.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/aspectratio/scale_and_crop_simple.qml b/examples/declarative/aspectratio/scale_and_crop_simple.qml
index 9cc9c19..434e98e 100644
--- a/examples/declarative/aspectratio/scale_and_crop_simple.qml
+++ b/examples/declarative/aspectratio/scale_and_crop_simple.qml
@@ -13,7 +13,7 @@ Rectangle {
Image {
id: face
source: "pics/face.png"
- fillMode: "PreserveAspectCrop"
+ fillMode: Image.PreserveAspectCrop
anchors.fill: parent
}
}
diff --git a/examples/declarative/aspectratio/scale_to_fit_simple.qml b/examples/declarative/aspectratio/scale_to_fit_simple.qml
index f7fcd8b..83909ef 100644
--- a/examples/declarative/aspectratio/scale_to_fit_simple.qml
+++ b/examples/declarative/aspectratio/scale_to_fit_simple.qml
@@ -13,7 +13,7 @@ Rectangle {
Image {
id: face
source: "pics/face.png"
- fillMode: "PreserveAspectFit"
+ fillMode: Image.PreserveAspectFit
anchors.fill: parent
}
}