diff options
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 { |