diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-03-20 16:06:37 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-22 09:41:26 +0100 |
commit | 23d56db0c8e156fb19cec6a155105493d13a4f9f (patch) | |
tree | b370fa5139ea2812e98bba516559c46a08ad4bb8 /examples/demos/samegame/content/Button.qml | |
parent | 58e064a5dff1289bff0d304ae8798b43d67587f7 (diff) |
Update samegame demo to new layout
Change-Id: Ib9cf4fb29022c63ce24f7b8c7ca4ff17c149a9cb
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'examples/demos/samegame/content/Button.qml')
-rw-r--r-- | examples/demos/samegame/content/Button.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/demos/samegame/content/Button.qml b/examples/demos/samegame/content/Button.qml index 2d1a993226..44da525144 100644 --- a/examples/demos/samegame/content/Button.qml +++ b/examples/demos/samegame/content/Button.qml @@ -45,6 +45,7 @@ Rectangle { id: container property string text: "Button" + property int fontSize: 24 signal clicked @@ -70,6 +71,6 @@ Rectangle { MouseArea { id: mouseArea; anchors.fill: parent; onClicked: container.clicked() } Text { - id: buttonLabel; text: container.text; anchors.centerIn: container; color: activePalette.buttonText; font.pixelSize: 24 + id: buttonLabel; text: container.text; anchors.centerIn: container; color: activePalette.buttonText; font.pixelSize: container.fontSize } } |