diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-05-15 13:49:10 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-15 16:52:31 +0200 |
commit | 42d64cd1a466afea0db7d9608a489d67e9237831 (patch) | |
tree | ea188158c272f4013407700273b460af876db791 | |
parent | 67f6c0bc3052a5c14d4b556c25e376fe97c7973e (diff) | |
download | qtquickcontrols-42d64cd1a466afea0db7d9608a489d67e9237831.tar.gz |
TableView: fix the position of "filled" rows
On desktop the content cannot be scrolled when there are empty filled
rows, but on touch the content can be still flicked so the empty filled
rows must move together with the content.
Change-Id: I82e27d26a332d54c051e5d7bf9e1e0ab8e205f76
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
-rw-r--r-- | src/controls/TableView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index 75e1b4e1..3d0092cc 100644 --- a/src/controls/TableView.qml +++ b/src/controls/TableView.qml @@ -708,7 +708,7 @@ ScrollView { property int rowHeight: rowSizeItem.implicitHeight property int paddedRowCount: height/rowHeight - y: listView.contentHeight + y: listView.contentHeight - listView.contentY + listView.originY width: parent.width visible: alternatingRowColors height: viewport.height - listView.contentHeight |