diff options
Diffstat (limited to 'examples/quick/demos/stocqt/content/Button.qml')
-rw-r--r-- | examples/quick/demos/stocqt/content/Button.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quick/demos/stocqt/content/Button.qml b/examples/quick/demos/stocqt/content/Button.qml index 0051d814aa..436adf3116 100644 --- a/examples/quick/demos/stocqt/content/Button.qml +++ b/examples/quick/demos/stocqt/content/Button.qml @@ -45,10 +45,11 @@ Rectangle { 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" + color: buttonEnabled ? "#76644A" : "transparent" + border.color: "#76644A" + border.width: 1 MouseArea { anchors.fill: parent onClicked: button.clicked() |