diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-09-22 00:24:23 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-09-22 00:24:23 (GMT) |
commit | 7aee99a762280251297486f118ca2a3cd6762883 (patch) | |
tree | 454e2e2695941e0a26066e8752611f4d55774bbb /examples/declarative/aspectratio/face_fit.qml | |
parent | d125e01313b269d70577975f6e78d28a9105ada1 (diff) | |
download | Qt-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.qml | 6 |
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 |