summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-08-25 04:29:54 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-08-25 04:29:54 (GMT)
commitd6f0db181ab35250ee53c9b9d0210a80c69382ac (patch)
tree1bd3393e31d8cba7347e8d5ab4b2f33764ca67e0 /demos/declarative/samegame
parent39dee811492f937148103e5fd4d2c32c13449db5 (diff)
downloadQt-d6f0db181ab35250ee53c9b9d0210a80c69382ac.zip
Qt-d6f0db181ab35250ee53c9b9d0210a80c69382ac.tar.gz
Qt-d6f0db181ab35250ee53c9b9d0210a80c69382ac.tar.bz2
Remove excessive margins in SameGame
Reviewed-by: Yann Bodson
Diffstat (limited to 'demos/declarative/samegame')
-rw-r--r--demos/declarative/samegame/SameGame.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/samegame/SameGame.qml b/demos/declarative/samegame/SameGame.qml
index a9d8140..c0a1b2a 100644
--- a/demos/declarative/samegame/SameGame.qml
+++ b/demos/declarative/samegame/SameGame.qml
@@ -3,7 +3,7 @@ import "content"
Rectangle {
id: Screen
- width: 460; height: 700
+ width: 490; height: 720
Script { source: "content/samegame.js" }
@@ -23,8 +23,8 @@ Rectangle {
property int score: 0
z: 20; anchors.centerIn: parent
- width: parent.width - tileSize - (parent.width % tileSize);
- height: parent.height - tileSize - (parent.height % tileSize);
+ width: parent.width - (parent.width % tileSize);
+ height: parent.height - (parent.height % tileSize);
MouseRegion {
id: gameMR