From cba7920f07a3a5c4d56dfd375ff78ac8099747ce Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 22 Aug 2018 13:06:47 +0200 Subject: Fixed the list delegate --- views/calendar/qml/View.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index 1faf2820..99dc5a49 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml @@ -148,11 +148,12 @@ Kube.View { roles: ["name", "color"] sortRole: "name" } - delegate: ItemDelegate { + delegate: Kube.ListDelegate { id: delegate width: listView.availableWidth height: Kube.Units.gridUnit hoverEnabled: true + background: Item {} RowLayout { anchors.fill: parent spacing: Kube.Units.smallSpacing @@ -192,7 +193,7 @@ Kube.View { id: label Layout.fillWidth: true text: model.name - color: Kube.Colors.textColor + color: Kube.Colors.highlightColor elide: Text.ElideLeft clip: true } -- cgit v1.2.3