aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/text/fonts/hello.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-03-02 14:30:51 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-09 11:03:23 +0100
commit4b56661fd27cf6ce0c9410759fbd5c390e41dd69 (patch)
treedc27d3cd25f308100d8176d371a3748f2abbf65e /examples/quick/text/fonts/hello.qml
parent356bdc098d6f120003db227416c788bd9d51048d (diff)
Update text examples to new guidelines
Change-Id: I6bbf414f3734bc2f29a7182746c5df158a5924da Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'examples/quick/text/fonts/hello.qml')
-rw-r--r--examples/quick/text/fonts/hello.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/text/fonts/hello.qml b/examples/quick/text/fonts/hello.qml
index d9479fb208..8920329ddb 100644
--- a/examples/quick/text/fonts/hello.qml
+++ b/examples/quick/text/fonts/hello.qml
@@ -43,7 +43,7 @@ import QtQuick 2.0
Rectangle {
id: screen
- width: 800; height: 480
+ width: 320; height: 480
color: "black"
Item {
@@ -55,12 +55,12 @@ Rectangle {
anchors.centerIn: parent
color: "white"
text: "Hello world!"
- font.pixelSize: 60
+ font.pixelSize: 32
smooth: true
SequentialAnimation on font.letterSpacing {
loops: Animation.Infinite;
- NumberAnimation { from: 0; to: 150; easing.type: Easing.InQuad; duration: 3000 }
+ NumberAnimation { from: 0; to: 50; easing.type: Easing.InQuad; duration: 3000 }
ScriptAction {
script: {
container.y = (screen.height / 4) + (Math.random() * screen.height / 2)