diff options
author | Gunnar Sletta <gunnar.sletta@digia.com> | 2012-12-14 14:41:41 +0100 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@digia.com> | 2012-12-14 14:41:41 +0100 |
commit | da452450a57323b69684bff5f91a866dd5f7626d (patch) | |
tree | c6b1c1783cad4a694a50a731c4faf2f57a8f0fa9 /Button.qml | |
parent | c6083c433d8a354e0d0282e01419d752cd560270 (diff) |
minor tweaks to the button
Diffstat (limited to 'Button.qml')
-rw-r--r-- | Button.qml | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 { |