summaryrefslogtreecommitdiffstats
path: root/examples/declarative/text
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-09-17 06:34:50 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-23 07:25:35 (GMT)
commit1d6298e369a96a2ed1d2af5baa6546bce9b304b6 (patch)
tree39dde51e2565b95256302651f08e954235e326ad /examples/declarative/text
parent30848f7eaac221e9c8a3e0c73ce268c12ae801e5 (diff)
downloadQt-1d6298e369a96a2ed1d2af5baa6546bce9b304b6.zip
Qt-1d6298e369a96a2ed1d2af5baa6546bce9b304b6.tar.gz
Qt-1d6298e369a96a2ed1d2af5baa6546bce9b304b6.tar.bz2
Fix example after changes to font.letterSpacing.
(cherry picked from commit 5372b313127302d94c748732052dd62d0e38a1cd)
Diffstat (limited to 'examples/declarative/text')
-rw-r--r--examples/declarative/text/fonts/hello.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/declarative/text/fonts/hello.qml b/examples/declarative/text/fonts/hello.qml
index a396ff3..60bd919 100644
--- a/examples/declarative/text/fonts/hello.qml
+++ b/examples/declarative/text/fonts/hello.qml
@@ -56,10 +56,11 @@ Rectangle {
color: "white"
text: "Hello world!"
font.pixelSize: 60
+ smooth: true
SequentialAnimation on font.letterSpacing {
loops: Animation.Infinite;
- NumberAnimation { from: 100; to: 300; easing.type: Easing.InQuad; duration: 3000 }
+ NumberAnimation { from: 0; to: 150; easing.type: Easing.InQuad; duration: 3000 }
ScriptAction {
script: {
container.y = (screen.height / 4) + (Math.random() * screen.height / 2)