diff options
-rw-r--r-- | .qmake.conf | 2 | ||||
-rw-r--r-- | src/controls/Private/BasicTableView.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.qmake.conf b/.qmake.conf index 909006ff..126ddb1c 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -4,4 +4,4 @@ android|ios|qnx|isEmpty(QT.widgets.name): CONFIG += no_desktop DEFINES += QT_NO_FOREACH QT_NO_JAVA_STYLE_ITERATORS QT_NO_LINKED_LIST -MODULE_VERSION = 5.15.4 +MODULE_VERSION = 5.15.5 diff --git a/src/controls/Private/BasicTableView.qml b/src/controls/Private/BasicTableView.qml index cd6114a1..4f0f9a0e 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 { |