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