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.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/qml/ListDelegate.qml b/framework/qml/ListDelegate.qml
index 196148cb..4d0290d9 100644
--- a/framework/qml/ListDelegate.qml
+++ b/framework/qml/ListDelegate.qml
@@ -28,6 +28,7 @@ T.ItemDelegate {
28 property alias border: background.border 28 property alias border: background.border
29 property color textColor: highlighted ? Kube.Colors.highlightedTextColor : Kube.Colors.textColor 29 property color textColor: highlighted ? Kube.Colors.highlightedTextColor : Kube.Colors.textColor
30 property color disabledTextColor: highlighted ? Kube.Colors.highlightedTextColor : Kube.Colors.disabledTextColor 30 property color disabledTextColor: highlighted ? Kube.Colors.highlightedTextColor : Kube.Colors.disabledTextColor
31 property bool focused: root.hovered || root.activeFocus
31 32
32 height: Kube.Units.gridUnit * 3 33 height: Kube.Units.gridUnit * 3
33 width: root.ListView.view.width 34 width: root.ListView.view.width
@@ -44,7 +45,7 @@ T.ItemDelegate {
44 border.color: Kube.Colors.buttonColor 45 border.color: Kube.Colors.buttonColor
45 border.width: 1 46 border.width: 1
46 color: Kube.Colors.viewBackgroundColor 47 color: Kube.Colors.viewBackgroundColor
47 focused: root.hovered || root.activeFocus 48 focused: root.focused
48 selected: root.highlighted 49 selected: root.highlighted
49 } 50 }
50} 51}