diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-22 13:06:47 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-22 13:06:47 +0200 |
commit | cba7920f07a3a5c4d56dfd375ff78ac8099747ce (patch) | |
tree | b90be8785bfe6a68fb5f57639f8249b26bbdc796 /views/calendar/qml/View.qml | |
parent | f3dea9ef5fef1d5b63355431c19eab440bbb4326 (diff) | |
download | kube-cba7920f07a3a5c4d56dfd375ff78ac8099747ce.tar.gz kube-cba7920f07a3a5c4d56dfd375ff78ac8099747ce.zip |
Fixed the list delegate
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r-- | views/calendar/qml/View.qml | 5 |
1 files 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 { | |||
148 | roles: ["name", "color"] | 148 | roles: ["name", "color"] |
149 | sortRole: "name" | 149 | sortRole: "name" |
150 | } | 150 | } |
151 | delegate: ItemDelegate { | 151 | delegate: Kube.ListDelegate { |
152 | id: delegate | 152 | id: delegate |
153 | width: listView.availableWidth | 153 | width: listView.availableWidth |
154 | height: Kube.Units.gridUnit | 154 | height: Kube.Units.gridUnit |
155 | hoverEnabled: true | 155 | hoverEnabled: true |
156 | background: Item {} | ||
156 | RowLayout { | 157 | RowLayout { |
157 | anchors.fill: parent | 158 | anchors.fill: parent |
158 | spacing: Kube.Units.smallSpacing | 159 | spacing: Kube.Units.smallSpacing |
@@ -192,7 +193,7 @@ Kube.View { | |||
192 | id: label | 193 | id: label |
193 | Layout.fillWidth: true | 194 | Layout.fillWidth: true |
194 | text: model.name | 195 | text: model.name |
195 | color: Kube.Colors.textColor | 196 | color: Kube.Colors.highlightColor |
196 | elide: Text.ElideLeft | 197 | elide: Text.ElideLeft |
197 | clip: true | 198 | clip: true |
198 | } | 199 | } |