summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-25 04:34:56 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-25 04:34:56 (GMT)
commit29b028b156b190718ecdb223c08f2fdcfc07b3e6 (patch)
tree9fe284519914563a2d41b4b3a0a40f3d269eaf46 /demos/declarative/samegame
parent49b7d16486b5a0629b8d46a4803c858a51676f69 (diff)
downloadQt-29b028b156b190718ecdb223c08f2fdcfc07b3e6.zip
Qt-29b028b156b190718ecdb223c08f2fdcfc07b3e6.tar.gz
Qt-29b028b156b190718ecdb223c08f2fdcfc07b3e6.tar.bz2
Fix the size of the button
Diffstat (limited to 'demos/declarative/samegame')
-rw-r--r--demos/declarative/samegame/SameGame.qml4
-rw-r--r--demos/declarative/samegame/content/Button.qml1
2 files changed, 2 insertions, 3 deletions
diff --git a/demos/declarative/samegame/SameGame.qml b/demos/declarative/samegame/SameGame.qml
index a9d8140..37ccff7 100644
--- a/demos/declarative/samegame/SameGame.qml
+++ b/demos/declarative/samegame/SameGame.qml
@@ -38,7 +38,7 @@ Rectangle {
Rectangle {
id: ToolBar
color: activePalette.window
- height: Score.height + 10; width: parent.width
+ height: 32; width: parent.width
anchors.bottom: Screen.bottom
Button {
@@ -49,7 +49,7 @@ Rectangle {
Text {
id: Score
- text: "Score: " + gameCanvas.score; font.pointSize: 11
+ text: "Score: " + gameCanvas.score; font.bold: true
anchors.right: parent.right; anchors.rightMargin: 3
anchors.verticalCenter: parent.verticalCenter
}
diff --git a/demos/declarative/samegame/content/Button.qml b/demos/declarative/samegame/content/Button.qml
index 208c502..2354218 100644
--- a/demos/declarative/samegame/content/Button.qml
+++ b/demos/declarative/samegame/content/Button.qml
@@ -21,6 +21,5 @@ Rectangle {
Text {
id: txtItem; text: Container.text; anchors.centerIn: Container; color: activePalette.buttonText
- font.pointSize: 10;
}
}