diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-04-08 05:27:55 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-04-08 06:30:49 (GMT) |
commit | 02d0f442177d7f232dc98ac9ee58c70c3e09c086 (patch) | |
tree | 9c328caf58b448150f9f1609fedf9644f874e720 /examples/declarative/aspectratio | |
parent | fda3e9d3e36e95392ad0882b445bb004001b9688 (diff) | |
download | Qt-02d0f442177d7f232dc98ac9ee58c70c3e09c086.zip Qt-02d0f442177d7f232dc98ac9ee58c70c3e09c086.tar.gz Qt-02d0f442177d7f232dc98ac9ee58c70c3e09c086.tar.bz2 |
Renamed 'source' property from SpringFollow to 'to'
Diffstat (limited to 'examples/declarative/aspectratio')
-rw-r--r-- | examples/declarative/aspectratio/face_fit_animated.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/aspectratio/face_fit_animated.qml b/examples/declarative/aspectratio/face_fit_animated.qml index 97f4791..63fc9c6 100644 --- a/examples/declarative/aspectratio/face_fit_animated.qml +++ b/examples/declarative/aspectratio/face_fit_animated.qml @@ -19,8 +19,8 @@ Rectangle { x: (parent.width-width*scale)/2 y: (parent.height-height*scale)/2 SpringFollow on scale { - source: Math.max(Math.min(face.parent.width/face.width*1.333,face.parent.height/face.height), - Math.min(face.parent.width/face.width,face.parent.height/face.height*1.333)) + to: Math.max(Math.min(face.parent.width/face.width*1.333,face.parent.height/face.height), + Math.min(face.parent.width/face.width,face.parent.height/face.height*1.333)) spring: 1 damping: 0.05 } |