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.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 5381bb4..4ee06ba 100644
--- a/examples/declarative/aspectratio/scale_to_fit_simple.qml
+++ b/examples/declarative/aspectratio/scale_to_fit_simple.qml
@@ -3,7 +3,7 @@ import Qt 4.6
// Here, we implement "Scale to Fit" behaviour, using the
// preserveAspect property.
//
-Rect {
+Rectangle {
// default size: whole image, unscaled
width: Image.width
height: Image.height