summaryrefslogtreecommitdiffstats
path: root/examples/declarative/aspectratio/scale_to_fit.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/aspectratio/scale_to_fit.qml')
-rw-r--r--examples/declarative/aspectratio/scale_to_fit.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/declarative/aspectratio/scale_to_fit.qml b/examples/declarative/aspectratio/scale_to_fit.qml
index c4efc29..961ac04 100644
--- a/examples/declarative/aspectratio/scale_to_fit.qml
+++ b/examples/declarative/aspectratio/scale_to_fit.qml
@@ -12,6 +12,7 @@ Rectangle {
Image {
id: face
+ smooth: true
source: "pics/face.png"
x: (parent.width-width*scale)/2
y: (parent.height-height*scale)/2