aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/stocqt/content/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/demos/stocqt/content/Button.qml')
-rw-r--r--examples/quick/demos/stocqt/content/Button.qml36
1 files changed, 18 insertions, 18 deletions
diff --git a/examples/quick/demos/stocqt/content/Button.qml b/examples/quick/demos/stocqt/content/Button.qml
index 2cdd187629..0051d814aa 100644
--- a/examples/quick/demos/stocqt/content/Button.qml
+++ b/examples/quick/demos/stocqt/content/Button.qml
@@ -41,22 +41,22 @@
import QtQuick 2.0
Rectangle {
- id:button
- signal clicked
- property alias text: txt.text
- property bool buttonEnabled:false
- radius:5
- width: Math.max(64,txt.width+16);
- height: 32
- color: buttonEnabled ? "steelblue" : "gray"
- MouseArea {
- anchors.fill:parent
- onClicked: button.clicked();
- }
- Text {
- anchors.centerIn: parent
- font.pixelSize: 18
- color:"#ecc089"
- id: txt
- }
+ id: button
+ signal clicked
+ property alias text: txt.text
+ property bool buttonEnabled: false
+ radius: 5
+ width: Math.max(64, txt.width + 16)
+ height: 32
+ color: buttonEnabled ? "steelblue" : "gray"
+ MouseArea {
+ anchors.fill: parent
+ onClicked: button.clicked()
+ }
+ Text {
+ anchors.centerIn: parent
+ font.pixelSize: 18
+ color: "#ecc089"
+ id: txt
+ }
}