diff options
Diffstat (limited to 'src/controls/Private/BasicTableView.qml')
-rw-r--r-- | src/controls/Private/BasicTableView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/BasicTableView.qml b/src/controls/Private/BasicTableView.qml index d38c0694..1422c87a 100644 --- a/src/controls/Private/BasicTableView.qml +++ b/src/controls/Private/BasicTableView.qml @@ -491,7 +491,7 @@ ScrollView { y: listView.contentHeight - listView.contentY + listView.originY width: parent.width visible: alternatingRowColors - height: listView.model && listView.model.count ? (viewport.height - listView.contentHeight) : 0 + height: listView.model && listView.model.count ? Math.max(viewport.height - listView.contentHeight, 0) : 0 Repeater { model: visible ? parent.paddedRowCount : 0 Loader { |