aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/stocqt/content/Button.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2012-12-13 21:18:19 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-13 23:50:25 +0100
commit8ac4e62fe50b3f4d9abc8136a98babe4d306f686 (patch)
treed86e266531288f4dbbe1f58db1d73663d77fa9ea /examples/quick/demos/stocqt/content/Button.qml
parent93c7cf2cbc650d1590037d86f8eba6d0be029159 (diff)
Improved cosmetics for StockQt
This will not get us any design awards but it looks a bit more professional than the original. Change-Id: Ib01a20ebad5888af44c174cbd493ce8d99dcf7b6 Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
Diffstat (limited to 'examples/quick/demos/stocqt/content/Button.qml')
-rw-r--r--examples/quick/demos/stocqt/content/Button.qml5
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()