summaryrefslogtreecommitdiffstats
path: root/examples/declarative/aspectratio/face_fit.qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-09-22 00:24:23 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-09-22 00:24:23 (GMT)
commit7aee99a762280251297486f118ca2a3cd6762883 (patch)
tree454e2e2695941e0a26066e8752611f4d55774bbb /examples/declarative/aspectratio/face_fit.qml
parentd125e01313b269d70577975f6e78d28a9105ada1 (diff)
downloadQt-7aee99a762280251297486f118ca2a3cd6762883.zip
Qt-7aee99a762280251297486f118ca2a3cd6762883.tar.gz
Qt-7aee99a762280251297486f118ca2a3cd6762883.tar.bz2
Syntax update
id must not be a type Image::fillMode change
Diffstat (limited to 'examples/declarative/aspectratio/face_fit.qml')
-rw-r--r--examples/declarative/aspectratio/face_fit.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/aspectratio/face_fit.qml b/examples/declarative/aspectratio/face_fit.qml
index 4573160..8d38cca 100644
--- a/examples/declarative/aspectratio/face_fit.qml
+++ b/examples/declarative/aspectratio/face_fit.qml
@@ -8,13 +8,13 @@ import Qt 4.6
//
Rectangle {
// default size: whole image, unscaled
- width: Image.width
- height: Image.height
+ width: Face.width
+ height: Face.height
color: "gray"
clip: true
Image {
- id: Image
+ id: Face
source: "pics/face.png"
x: (parent.width-width*scale)/2
y: (parent.height-height*scale)/2