diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-19 11:29:11 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-19 11:29:11 +0200 |
commit | 0d1b7f98cd295b16d93bb09cb8f43e1d60a173f6 (patch) | |
tree | 628928a98de4aad635ed19e7dc6bf3b5d95b9cd2 /views/calendar/qml/View.qml | |
parent | 6352986e31c77964a82714c18adbfb88833840b3 (diff) | |
download | kube-0d1b7f98cd295b16d93bb09cb8f43e1d60a173f6.tar.gz kube-0d1b7f98cd295b16d93bb09cb8f43e1d60a173f6.zip |
Don't overlap the scrollbar
Diffstat (limited to 'views/calendar/qml/View.qml')
-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 |