diff options
Diffstat (limited to 'framework/qml/Button.qml')
-rw-r--r-- | framework/qml/Button.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/qml/Button.qml b/framework/qml/Button.qml index 664d9b3d..72b0e053 100644 --- a/framework/qml/Button.qml +++ b/framework/qml/Button.qml | |||
@@ -36,9 +36,12 @@ T.Button { | |||
36 | background: Rectangle { | 36 | background: Rectangle { |
37 | color: Colors.buttonColor | 37 | color: Colors.buttonColor |
38 | 38 | ||
39 | border.width: 2 | ||
40 | border.color: root.focus ? Colors.highlightColor : Colors.buttonColor | ||
41 | |||
39 | Rectangle { | 42 | Rectangle { |
40 | anchors.fill: parent | 43 | anchors.fill: parent |
41 | visible: root.hovered || root.pressed || root.activeFocus | 44 | visible: root.hovered || root.pressed |
42 | color: root.pressed ? Colors.textColor : Colors.viewBackgroundColor | 45 | color: root.pressed ? Colors.textColor : Colors.viewBackgroundColor |
43 | opacity: 0.2 | 46 | opacity: 0.2 |
44 | } | 47 | } |