diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-03 15:26:48 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-03 15:26:48 +0200 |
commit | 61ad02e69f3755749bec61d9bd763b63f508ec93 (patch) | |
tree | e17a0a8a1645b5364e5e726cdef2618f0190205f | |
parent | 065e6c5d7a8ed534d99373d86748d381d09bab49 (diff) | |
download | kube-61ad02e69f3755749bec61d9bd763b63f508ec93.tar.gz kube-61ad02e69f3755749bec61d9bd763b63f508ec93.zip |
Use scrollhelper on weekview
-rw-r--r-- | views/calendar/qml/WeekView.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/views/calendar/qml/WeekView.qml b/views/calendar/qml/WeekView.qml index 0080e1e7..f8dca84d 100644 --- a/views/calendar/qml/WeekView.qml +++ b/views/calendar/qml/WeekView.qml | |||
@@ -179,6 +179,12 @@ FocusScope { | |||
179 | 179 | ||
180 | ScrollBar.vertical: Kube.ScrollBar {} | 180 | ScrollBar.vertical: Kube.ScrollBar {} |
181 | 181 | ||
182 | Kube.ScrollHelper { | ||
183 | id: scrollHelper | ||
184 | flickable: mainWeekViewer | ||
185 | anchors.fill: parent | ||
186 | } | ||
187 | |||
182 | Row { | 188 | Row { |
183 | height: root.hourHeight * 24 | 189 | height: root.hourHeight * 24 |
184 | width: root.dayWidth * root.daysToShow + Kube.Units.gridUnit * 2 | 190 | width: root.dayWidth * root.daysToShow + Kube.Units.gridUnit * 2 |