From 29b028b156b190718ecdb223c08f2fdcfc07b3e6 Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Tue, 25 Aug 2009 14:34:56 +1000 Subject: Fix the size of the button --- demos/declarative/samegame/SameGame.qml | 4 ++-- demos/declarative/samegame/content/Button.qml | 1 - 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; } } -- cgit v0.12