diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2018-08-06 01:03:42 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2018-08-06 01:03:42 +0200 |
commit | 0d929de1743e9574f7972c9f5b84592202601a00 (patch) | |
tree | 66485a90e897072046aec9e974322b78fd9f7c30 /framework/qml/PositiveButton.qml | |
parent | f4be84db544fe118d6dc4bffcd27a7819958124f (diff) | |
download | kube-0d929de1743e9574f7972c9f5b84592202601a00.tar.gz kube-0d929de1743e9574f7972c9f5b84592202601a00.zip |
improve positive button highlight
Diffstat (limited to 'framework/qml/PositiveButton.qml')
-rw-r--r-- | framework/qml/PositiveButton.qml | 8 |
1 files changed, 8 insertions, 0 deletions
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 | |||
@@ -26,6 +26,14 @@ AbstractButton { | |||
26 | highlightOpacity: 0.2 | 26 | highlightOpacity: 0.2 |
27 | 27 | ||
28 | Rectangle { | 28 | Rectangle { |
29 | anchors.fill: parent | ||
30 | color: "transparent" | ||
31 | border.width: 2 | ||
32 | border.color: Colors.highlightColor | ||
33 | visible: hovered || visualFocus | ||
34 | } | ||
35 | |||
36 | Rectangle { | ||
29 | anchors.fill: parent | 37 | anchors.fill: parent |
30 | color: "transparent" | 38 | color: "transparent" |
31 | border.width: 1 | 39 | border.width: 1 |