summaryrefslogtreecommitdiffstats
path: root/framework/qml/AbstractButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/AbstractButton.qml')
-rw-r--r--framework/qml/AbstractButton.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/qml/AbstractButton.qml b/framework/qml/AbstractButton.qml
index c49a490b..d55176ea 100644
--- a/framework/qml/AbstractButton.qml
+++ b/framework/qml/AbstractButton.qml
@@ -26,6 +26,8 @@ T.Button {
26 26
27 property color color: Colors.buttonColor 27 property color color: Colors.buttonColor
28 property color textColor: Colors.textColor 28 property color textColor: Colors.textColor
29 property alias highlightColor: background.highlightColor
30 property alias highlightOpacity: background.highlightOpacity
29 property alias horizontalAlignment: label.horizontalAlignment 31 property alias horizontalAlignment: label.horizontalAlignment
30 property alias verticalAlignment: label.verticalAlignment 32 property alias verticalAlignment: label.verticalAlignment
31 33
@@ -41,6 +43,7 @@ T.Button {
41 Keys.onReturnPressed: root.clicked() 43 Keys.onReturnPressed: root.clicked()
42 44
43 background: DelegateBackground { 45 background: DelegateBackground {
46 id: background
44 selected: root.checked 47 selected: root.checked
45 focused: root.hovered || root.visualFocus 48 focused: root.hovered || root.visualFocus
46 color: root.color 49 color: root.color