From 0d1b7f98cd295b16d93bb09cb8f43e1d60a173f6 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 19 Aug 2018 11:29:11 +0200 Subject: Don't overlap the scrollbar --- views/calendar/qml/View.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { } Kube.ListView { + id: listView Layout.fillHeight: true Layout.preferredHeight: contentHeight Layout.minimumHeight: Kube.Units.gridUnit @@ -136,7 +137,7 @@ RowLayout { roles: ["name", "color"] } delegate: Item { - width: parent.width + width: listView.availableWidth height: Kube.Units.gridUnit RowLayout { anchors.fill: parent -- cgit v1.2.3