summaryrefslogtreecommitdiffstats
path: root/examples/declarative/aspectratio/scale_to_fit_simple.qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-07-31 05:10:39 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-07-31 05:10:39 (GMT)
commit1af063d9aaff5d0e5e8715202baeced55bbbb0bc (patch)
tree07f350fce0def816328a9dca23f7801bd40d4d7d /examples/declarative/aspectratio/scale_to_fit_simple.qml
parent510b9523339d97b8b52175ddb5a21bff706b3d7c (diff)
downloadQt-1af063d9aaff5d0e5e8715202baeced55bbbb0bc.zip
Qt-1af063d9aaff5d0e5e8715202baeced55bbbb0bc.tar.gz
Qt-1af063d9aaff5d0e5e8715202baeced55bbbb0bc.tar.bz2
tile/preservseAspect are now fillMode
as per API review
Diffstat (limited to 'examples/declarative/aspectratio/scale_to_fit_simple.qml')
-rw-r--r--examples/declarative/aspectratio/scale_to_fit_simple.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/aspectratio/scale_to_fit_simple.qml b/examples/declarative/aspectratio/scale_to_fit_simple.qml
index f9c0e04..5381bb4 100644
--- a/examples/declarative/aspectratio/scale_to_fit_simple.qml
+++ b/examples/declarative/aspectratio/scale_to_fit_simple.qml
@@ -13,7 +13,7 @@ Rect {
Image {
id: Image
source: "pics/face.png"
- preserveAspect: true
+ fillMode: "PreserveAspect"
anchors.fill: parent
}
}