From 0d929de1743e9574f7972c9f5b84592202601a00 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Mon, 6 Aug 2018 01:03:42 +0200 Subject: improve positive button highlight --- framework/qml/PositiveButton.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/framework/qml/PositiveButton.qml b/framework/qml/PositiveButton.qml index 9e3c5d72..0deb5d02 100644 --- a/framework/qml/PositiveButton.qml +++ b/framework/qml/PositiveButton.qml @@ -25,6 +25,14 @@ AbstractButton { highlightColor: Colors.viewBackgroundColor highlightOpacity: 0.2 + Rectangle { + anchors.fill: parent + color: "transparent" + border.width: 2 + border.color: Colors.highlightColor + visible: hovered || visualFocus + } + Rectangle { anchors.fill: parent color: "transparent" -- cgit v1.2.3