diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-30 22:37:01 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-01 10:36:32 +0200 |
commit | bbd256f634844453758e5acf85a54a2dbe6965a4 (patch) | |
tree | 0348aa32c041bca09dc2b5e74f3db5d360d52eb1 /framework/qml/IconButton.qml | |
parent | 67baabf4358fb95a0283f36f2fee1936280b0966 (diff) | |
download | kube-bbd256f634844453758e5acf85a54a2dbe6965a4.tar.gz kube-bbd256f634844453758e5acf85a54a2dbe6965a4.zip |
Show active focus on buttons
Not the proper solution but better than nothing.
Diffstat (limited to 'framework/qml/IconButton.qml')
-rw-r--r-- | framework/qml/IconButton.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/IconButton.qml b/framework/qml/IconButton.qml index a0cd704f..a2a9245d 100644 --- a/framework/qml/IconButton.qml +++ b/framework/qml/IconButton.qml | |||
@@ -41,7 +41,7 @@ T.Button { | |||
41 | 41 | ||
42 | Rectangle { | 42 | Rectangle { |
43 | anchors.fill: parent | 43 | anchors.fill: parent |
44 | visible: root.hovered || root.pressed | 44 | visible: root.hovered || root.pressed || root.activeFocus |
45 | color: root.pressed ? Kube.Colors.textColor : Kube.Colors.viewBackgroundColor | 45 | color: root.pressed ? Kube.Colors.textColor : Kube.Colors.viewBackgroundColor |
46 | opacity: 0.2 | 46 | opacity: 0.2 |
47 | } | 47 | } |