summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-05-08 01:07:44 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-05-08 01:07:44 (GMT)
commit3a2b763f7e74f1ee7617e539ca42372c57debbc2 (patch)
tree3b5d2dc77dd44185dd8a9b365c0f7f1026e11da4 /demos/declarative/flickr
parent4981d87a31090682acb28dccc7f6672f8e32ca61 (diff)
downloadQt-3a2b763f7e74f1ee7617e539ca42372c57debbc2.zip
Qt-3a2b763f7e74f1ee7617e539ca42372c57debbc2.tar.gz
Qt-3a2b763f7e74f1ee7617e539ca42372c57debbc2.tar.bz2
Get the delegate scale correct at the ends of the path.
Diffstat (limited to 'demos/declarative/flickr')
-rw-r--r--demos/declarative/flickr/flickr2.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/demos/declarative/flickr/flickr2.qml b/demos/declarative/flickr/flickr2.qml
index 41d7d88..f5f569e 100644
--- a/demos/declarative/flickr/flickr2.qml
+++ b/demos/declarative/flickr/flickr2.qml
@@ -198,12 +198,12 @@ Item {
path: Path {
startX: -150; startY: 40;
+ PathAttribute { name: "scale"; value: 0.9 }
+ PathAttribute { name: "angle"; value: -45 }
PathPercent { value: 0 }
PathLine { x: -50; y: 40 }
PathPercent { value: 0.001 }
- PathAttribute { name: "scale"; value: 0.9 }
- PathAttribute { name: "angle"; value: -45 }
PathCubic {
x: 400; y: 220
@@ -221,12 +221,11 @@ Item {
control1X: 590; control1Y: 220
}
- PathAttribute { name: "scale"; value: 0.9 }
- PathAttribute { name: "angle"; value: -45 }
-
PathPercent { value: 0.999 }
PathLine { x: 950; y: 40 }
PathPercent { value: 1.0 }
+ PathAttribute { name: "scale"; value: 0.9 }
+ PathAttribute { name: "angle"; value: -45 }
}
}