summaryrefslogtreecommitdiffstats
path: root/examples/declarative/aspectratio
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 05:27:55 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 06:30:49 (GMT)
commit02d0f442177d7f232dc98ac9ee58c70c3e09c086 (patch)
tree9c328caf58b448150f9f1609fedf9644f874e720 /examples/declarative/aspectratio
parentfda3e9d3e36e95392ad0882b445bb004001b9688 (diff)
downloadQt-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.qml4
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
}