summaryrefslogtreecommitdiffstats
path: root/examples/declarative/aspectratio/scale_and_crop_simple.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/aspectratio/scale_and_crop_simple.qml')
-rw-r--r--examples/declarative/aspectratio/scale_and_crop_simple.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/declarative/aspectratio/scale_and_crop_simple.qml b/examples/declarative/aspectratio/scale_and_crop_simple.qml
index 9cc9c19..e720ce7 100644
--- a/examples/declarative/aspectratio/scale_and_crop_simple.qml
+++ b/examples/declarative/aspectratio/scale_and_crop_simple.qml
@@ -12,8 +12,9 @@ Rectangle {
Image {
id: face
+ smooth: true
source: "pics/face.png"
- fillMode: "PreserveAspectCrop"
+ fillMode: Image.PreserveAspectCrop
anchors.fill: parent
}
}