summaryrefslogtreecommitdiffstats
path: root/framework/qml/ListDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/ListDelegate.qml')
-rw-r--r--framework/qml/ListDelegate.qml16
1 files changed, 3 insertions, 13 deletions
diff --git a/framework/qml/ListDelegate.qml b/framework/qml/ListDelegate.qml
index 3db56ff3..fd654e4c 100644
--- a/framework/qml/ListDelegate.qml
+++ b/framework/qml/ListDelegate.qml
@@ -33,22 +33,12 @@ T.ItemDelegate {
33 hoverEnabled: true 33 hoverEnabled: true
34 highlighted: ListView.isCurrentItem 34 highlighted: ListView.isCurrentItem
35 35
36 background: Rectangle { 36 background: Kube.DelegateBackground {
37 id: background 37 id: background
38 border.color: Kube.Colors.buttonColor 38 border.color: Kube.Colors.buttonColor
39 border.width: 1 39 border.width: 1
40 color: Kube.Colors.viewBackgroundColor 40 color: Kube.Colors.viewBackgroundColor
41 Rectangle { 41 focused: root.hovered || root.activeFocus
42 anchors.fill: parent 42 selected: root.highlighted
43 visible: root.highlighted
44 color: Kube.Colors.highlightColor
45 }
46 Rectangle {
47 anchors.fill: parent
48 visible: root.hovered || root.activeFocus
49 border.color: Kube.Colors.focusedButtonColor
50 border.width: 2
51 color: "transparent"
52 }
53 } 43 }
54} 44}