summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/SamegameCore/Button.qml
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2010-10-28 20:10:13 (GMT)
committerAlessandro Portale <alessandro.portale@nokia.com>2010-10-28 20:10:13 (GMT)
commiteea4ef7bcbababd1af07c75e6711f34aaa4b69e5 (patch)
treeb5ad3ee8737dc9a2b1ca5c4b67b1e1f07ff14acb /demos/declarative/samegame/SamegameCore/Button.qml
parent44f6ed77eb3b80b28ebc967b64a1640347a83060 (diff)
downloadQt-eea4ef7bcbababd1af07c75e6711f34aaa4b69e5.zip
Qt-eea4ef7bcbababd1af07c75e6711f34aaa4b69e5.tar.gz
Qt-eea4ef7bcbababd1af07c75e6711f34aaa4b69e5.tar.bz2
Making the buttons less finger unfriendly
I did not dare to apply the same fix to the samegame tutorials, since those are completely diverged from the demo.
Diffstat (limited to 'demos/declarative/samegame/SamegameCore/Button.qml')
-rw-r--r--demos/declarative/samegame/SamegameCore/Button.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/samegame/SamegameCore/Button.qml b/demos/declarative/samegame/SamegameCore/Button.qml
index 7fb7b65..140b196 100644
--- a/demos/declarative/samegame/SamegameCore/Button.qml
+++ b/demos/declarative/samegame/SamegameCore/Button.qml
@@ -48,7 +48,7 @@ Rectangle {
signal clicked
- width: buttonLabel.width + 20; height: buttonLabel.height + 6
+ width: buttonLabel.width + 20; height: buttonLabel.height + 20
smooth: true
border { width: 1; color: Qt.darker(activePalette.button) }
radius: 8
@@ -70,6 +70,6 @@ Rectangle {
MouseArea { id: mouseArea; anchors.fill: parent; onClicked: container.clicked() }
Text {
- id: buttonLabel; text: container.text; anchors.centerIn: container; color: activePalette.buttonText
+ id: buttonLabel; text: container.text; anchors.centerIn: container; color: activePalette.buttonText; font.pixelSize: 24
}
}