summaryrefslogtreecommitdiffstats
path: root/examples/declarative/text/fonts
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-09-17 06:34:50 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-09-17 06:34:50 (GMT)
commit5372b313127302d94c748732052dd62d0e38a1cd (patch)
tree354e77d785fece902add7eb695bb822c702bfd9a /examples/declarative/text/fonts
parenteef26bc8521da62db0dced6796eceb7c27f64160 (diff)
downloadQt-5372b313127302d94c748732052dd62d0e38a1cd.zip
Qt-5372b313127302d94c748732052dd62d0e38a1cd.tar.gz
Qt-5372b313127302d94c748732052dd62d0e38a1cd.tar.bz2
Fix example after changes to font.letterSpacing.
Diffstat (limited to 'examples/declarative/text/fonts')
-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)