summaryrefslogtreecommitdiffstats
path: root/examples/declarative/fonts/banner.qml
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-04-15 07:06:39 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-04-15 07:06:39 (GMT)
commit519bf02008b8e6f1bf5154ce5c384049c3ebb0d7 (patch)
treeaa325674b7f86749d630f5eb587651007f6a10ca /examples/declarative/fonts/banner.qml
parent6e189eb28161f2d09e0c71ecd590b7ccfd82321c (diff)
parent414ff1be28af440f1e01a38e497227f3849e8e54 (diff)
downloadQt-519bf02008b8e6f1bf5154ce5c384049c3ebb0d7.zip
Qt-519bf02008b8e6f1bf5154ce5c384049c3ebb0d7.tar.gz
Qt-519bf02008b8e6f1bf5154ce5c384049c3ebb0d7.tar.bz2
Merge remote branch 'staging/4.7' into bearermanagement/qconfig
Diffstat (limited to 'examples/declarative/fonts/banner.qml')
-rw-r--r--examples/declarative/fonts/banner.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/declarative/fonts/banner.qml b/examples/declarative/fonts/banner.qml
index b7f5344..353354a 100644
--- a/examples/declarative/fonts/banner.qml
+++ b/examples/declarative/fonts/banner.qml
@@ -2,14 +2,17 @@ import Qt 4.7
Rectangle {
id: screen
- width: 640; height: 320; color: "steelblue"
property int pixelSize: screen.height * 1.25
property color textColor: "lightsteelblue"
property string text: "Hello world! "
+ width: 640; height: 320
+ color: "steelblue"
+
Row {
y: -screen.height / 4.5
+
NumberAnimation on x { from: 0; to: -text.width; duration: 6000; loops: Animation.Infinite }
Text { id: text; font.pixelSize: screen.pixelSize; color: screen.textColor; text: screen.text }
Text { font.pixelSize: screen.pixelSize; color: screen.textColor; text: screen.text }