diff options
Diffstat (limited to 'examples/declarative/aspectratio/scale_and_sidecrop.qml')
-rw-r--r-- | examples/declarative/aspectratio/scale_and_sidecrop.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/aspectratio/scale_and_sidecrop.qml b/examples/declarative/aspectratio/scale_and_sidecrop.qml index c3aa742..a6bd2c8 100644 --- a/examples/declarative/aspectratio/scale_and_sidecrop.qml +++ b/examples/declarative/aspectratio/scale_and_sidecrop.qml @@ -3,7 +3,7 @@ import Qt 4.6 // Here, we implement a variant of "Scale and Crop" behaviour, where we // crop the sides if necessary to fully fit vertically, but not the reverse. // -Rect { +Rectangle { // default size: whole image, unscaled width: Image.width height: Image.height |