diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-05-06 03:11:48 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-05-06 03:11:48 (GMT) |
commit | e909d9a200c7a75dc23542f4603ce86fdc135bab (patch) | |
tree | bd7a16915d67c44b5ed10a50141bbc28fde8833d /demos/declarative/snake/snake.qml | |
parent | 3e4116ff5337d41466904b2e381dfa74267264a8 (diff) | |
download | Qt-e909d9a200c7a75dc23542f4603ce86fdc135bab.zip Qt-e909d9a200c7a75dc23542f4603ce86fdc135bab.tar.gz Qt-e909d9a200c7a75dc23542f4603ce86fdc135bab.tar.bz2 |
Cleanup
Diffstat (limited to 'demos/declarative/snake/snake.qml')
-rw-r--r-- | demos/declarative/snake/snake.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/snake/snake.qml b/demos/declarative/snake/snake.qml index 47bced4..bc4a974 100644 --- a/demos/declarative/snake/snake.qml +++ b/demos/declarative/snake/snake.qml @@ -60,7 +60,7 @@ Rectangle { Image { id: title source: "content/pics/snake.jpg" - fillMode: "PreserveAspectCrop" + fillMode: Image.PreserveAspectCrop anchors.fill: parent anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter @@ -69,7 +69,7 @@ Rectangle { Text { color: "white" font.pointSize: 24 - horizontalAlignment: "AlignHCenter" + horizontalAlignment: Text.AlignHCenter text: "Last Score:\t" + lastScore + "\nHighscore:\t" + highScores.topScore; anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: parent.bottom @@ -78,7 +78,7 @@ Rectangle { } source: "content/pics/background.png" - fillMode: "PreserveAspectCrop" + fillMode: Image.PreserveAspectCrop anchors.left: parent.left anchors.right: parent.right |