diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/calendar/qml/View.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index 3aa1398d..b277e4e2 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml | |||
@@ -122,6 +122,7 @@ RowLayout { | |||
122 | } | 122 | } |
123 | 123 | ||
124 | Kube.ListView { | 124 | Kube.ListView { |
125 | id: listView | ||
125 | Layout.fillHeight: true | 126 | Layout.fillHeight: true |
126 | Layout.preferredHeight: contentHeight | 127 | Layout.preferredHeight: contentHeight |
127 | Layout.minimumHeight: Kube.Units.gridUnit | 128 | Layout.minimumHeight: Kube.Units.gridUnit |
@@ -136,7 +137,7 @@ RowLayout { | |||
136 | roles: ["name", "color"] | 137 | roles: ["name", "color"] |
137 | } | 138 | } |
138 | delegate: Item { | 139 | delegate: Item { |
139 | width: parent.width | 140 | width: listView.availableWidth |
140 | height: Kube.Units.gridUnit | 141 | height: Kube.Units.gridUnit |
141 | RowLayout { | 142 | RowLayout { |
142 | anchors.fill: parent | 143 | anchors.fill: parent |