From 065e6c5d7a8ed534d99373d86748d381d09bab49 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 3 Aug 2018 15:26:06 +0200 Subject: Always fully expand fullday events --- views/calendar/qml/WeekView.qml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/views/calendar/qml/WeekView.qml b/views/calendar/qml/WeekView.qml index 65e3627b..0080e1e7 100644 --- a/views/calendar/qml/WeekView.qml +++ b/views/calendar/qml/WeekView.qml @@ -96,13 +96,18 @@ FocusScope { right: parent.right } - height: Kube.Units.gridUnit * 3 width: root.dayWidth * root.daysToShow color: Kube.Colors.viewBackgroundColor border.width: 1 border.color: Kube.Colors.buttonColor - ListView { + //+2 to compensate for borders + height: fullDayListView.contentHeight + 2 + + visible: fullDayListView.count + + Kube.ListView { + id: fullDayListView anchors { fill: parent -- cgit v1.2.3