summaryrefslogtreecommitdiffstats
path: root/Button.qml
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2012-12-14 14:41:41 +0100
committerGunnar Sletta <gunnar.sletta@digia.com>2012-12-14 14:41:41 +0100
commitda452450a57323b69684bff5f91a866dd5f7626d (patch)
treec6b1c1783cad4a694a50a731c4faf2f57a8f0fa9 /Button.qml
parentc6083c433d8a354e0d0282e01419d752cd560270 (diff)
minor tweaks to the button
Diffstat (limited to 'Button.qml')
-rw-r--r--Button.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/Button.qml b/Button.qml
index 8f519ff..001bc36 100644
--- a/Button.qml
+++ b/Button.qml
@@ -51,8 +51,8 @@ Rectangle {
antialiasing: true
gradient: Gradient {
- GradientStop { position: 0; color: Qt.rgba(0.8, 0.8, 0.8, pressed ? 0.7 : 0.4); }
- GradientStop { position: 1; color: Qt.rgba(0.5, 0.5, 0.5, pressed ? 0.7 : 0.4); }
+ GradientStop { position: 0; color: Qt.rgba(0.5, 0.5, 0.5, pressed ? 0.7 : 0.5); }
+ GradientStop { position: 1; color: Qt.rgba(0.2, 0.2, 0.2, pressed ? 0.7 : 0.5); }
}
Behavior on color { ColorAnimation { duration: 100 } }
@@ -65,6 +65,7 @@ Rectangle {
anchors.centerIn: parent
color: "white"
font.pixelSize: parent.height / 3;
+ font.bold: true
}
MouseArea {