summaryrefslogtreecommitdiffstats
path: root/src/settingsui/qtbuttonimageproviderplugin/QtButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/settingsui/qtbuttonimageproviderplugin/QtButton.qml')
-rw-r--r--src/settingsui/qtbuttonimageproviderplugin/QtButton.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/settingsui/qtbuttonimageproviderplugin/QtButton.qml b/src/settingsui/qtbuttonimageproviderplugin/QtButton.qml
index 9501aa1..6fb61f4 100644
--- a/src/settingsui/qtbuttonimageproviderplugin/QtButton.qml
+++ b/src/settingsui/qtbuttonimageproviderplugin/QtButton.qml
@@ -34,14 +34,15 @@ Image {
sourceSize: Qt.size(width, height)
property string state: "enabled"
property int cutSize: 10
- property color fillColor: "white"
- property color borderColor: "black"
+ property color fillColor: viewSettings.buttonGreenColor
+ property color borderColor: mouseArea.pressed ? viewSettings.buttonActiveColor : viewSettings.buttonGreenColor
property alias text: buttonText.text
signal clicked()
width: buttonText.contentWidth + cutSize * 4
MouseArea {
+ id: mouseArea
anchors.fill: parent
onClicked: root.clicked()
}