From d3b07cd2025b0ee1ba76b8e92492f035ff447f33 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 26 Jul 2017 13:04:22 -0600 Subject: Bring back the highlight on buttons --- framework/qml/AbstractButton.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'framework/qml/AbstractButton.qml') 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 { property color color: Colors.buttonColor property color textColor: Colors.textColor + property alias highlightColor: background.highlightColor + property alias highlightOpacity: background.highlightOpacity property alias horizontalAlignment: label.horizontalAlignment property alias verticalAlignment: label.verticalAlignment @@ -41,6 +43,7 @@ T.Button { Keys.onReturnPressed: root.clicked() background: DelegateBackground { + id: background selected: root.checked focused: root.hovered || root.visualFocus color: root.color -- cgit v1.2.3