summaryrefslogtreecommitdiffstats
path: root/framework/qml/Button.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-30 22:37:01 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-05-01 10:36:32 +0200
commitbbd256f634844453758e5acf85a54a2dbe6965a4 (patch)
tree0348aa32c041bca09dc2b5e74f3db5d360d52eb1 /framework/qml/Button.qml
parent67baabf4358fb95a0283f36f2fee1936280b0966 (diff)
downloadkube-bbd256f634844453758e5acf85a54a2dbe6965a4.tar.gz
kube-bbd256f634844453758e5acf85a54a2dbe6965a4.zip
Show active focus on buttons
Not the proper solution but better than nothing.
Diffstat (limited to 'framework/qml/Button.qml')
-rw-r--r--framework/qml/Button.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/Button.qml b/framework/qml/Button.qml
index 6a3654cc..664d9b3d 100644
--- a/framework/qml/Button.qml
+++ b/framework/qml/Button.qml
@@ -38,7 +38,7 @@ T.Button {
38 38
39 Rectangle { 39 Rectangle {
40 anchors.fill: parent 40 anchors.fill: parent
41 visible: root.hovered || root.pressed 41 visible: root.hovered || root.pressed || root.activeFocus
42 color: root.pressed ? Colors.textColor : Colors.viewBackgroundColor 42 color: root.pressed ? Colors.textColor : Colors.viewBackgroundColor
43 opacity: 0.2 43 opacity: 0.2
44 } 44 }