diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-10-07 01:01:05 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-10-07 01:01:05 (GMT) |
commit | e25009d28c58b3ff7541374475f8c2c278cef02e (patch) | |
tree | bb8479624e5a2b71117fba7b495b06a659069fde /demos/declarative/samegame/samegame.qml | |
parent | 6ddff0d80fb360a7b3296e039150c97729fb8d10 (diff) | |
download | Qt-e25009d28c58b3ff7541374475f8c2c278cef02e.zip Qt-e25009d28c58b3ff7541374475f8c2c278cef02e.tar.gz Qt-e25009d28c58b3ff7541374475f8c2c278cef02e.tar.bz2 |
Refactor tileSize to the gameCanvas item
Diffstat (limited to 'demos/declarative/samegame/samegame.qml')
-rw-r--r-- | demos/declarative/samegame/samegame.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/declarative/samegame/samegame.qml b/demos/declarative/samegame/samegame.qml index 92d85f3..709f4e9 100644 --- a/demos/declarative/samegame/samegame.qml +++ b/demos/declarative/samegame/samegame.qml @@ -21,6 +21,7 @@ Rectangle { Item { id: gameCanvas property int score: 0 + property int tileSize: 40 z: 20; anchors.centerIn: parent width: parent.width - (parent.width % tileSize); |