diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-03 15:26:06 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-03 15:26:06 +0200 |
commit | 065e6c5d7a8ed534d99373d86748d381d09bab49 (patch) | |
tree | 56a3119bf0d41530823f2615ee09f274611e7383 | |
parent | b681725c14eb9af97dc6af610c41eeb00edf9fb9 (diff) | |
download | kube-065e6c5d7a8ed534d99373d86748d381d09bab49.tar.gz kube-065e6c5d7a8ed534d99373d86748d381d09bab49.zip |
Always fully expand fullday events
-rw-r--r-- | views/calendar/qml/WeekView.qml | 9 |
1 files 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 { | |||
96 | right: parent.right | 96 | right: parent.right |
97 | } | 97 | } |
98 | 98 | ||
99 | height: Kube.Units.gridUnit * 3 | ||
100 | width: root.dayWidth * root.daysToShow | 99 | width: root.dayWidth * root.daysToShow |
101 | color: Kube.Colors.viewBackgroundColor | 100 | color: Kube.Colors.viewBackgroundColor |
102 | border.width: 1 | 101 | border.width: 1 |
103 | border.color: Kube.Colors.buttonColor | 102 | border.color: Kube.Colors.buttonColor |
104 | 103 | ||
105 | ListView { | 104 | //+2 to compensate for borders |
105 | height: fullDayListView.contentHeight + 2 | ||
106 | |||
107 | visible: fullDayListView.count | ||
108 | |||
109 | Kube.ListView { | ||
110 | id: fullDayListView | ||
106 | 111 | ||
107 | anchors { | 112 | anchors { |
108 | fill: parent | 113 | fill: parent |