diff options
author | Liang Qi <liang.qi@qt.io> | 2016-11-24 19:36:41 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-11-24 19:36:41 +0100 |
commit | 8dbb5d994e31bf304c12656171e1d7728650ee03 (patch) | |
tree | a4f70ded858acd924cc3e6b3aaa5ad85bc80e8e6 /src/controls | |
parent | 1e6db9fc4f9cfd52ea96b1b8576ba19a1442638e (diff) | |
parent | 32831880512272968e26ed6a85a5cd98ecbda3b6 (diff) | |
download | qtquickcontrols-8dbb5d994e31bf304c12656171e1d7728650ee03.tar.gz |
Merge remote-tracking branch 'origin/5.6' into 5.75.7
Change-Id: I4a76c586b2e5e49616627c306dd345bdeee64b62
Diffstat (limited to 'src/controls')
-rw-r--r-- | src/controls/Private/BasicTableView.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/Private/BasicTableView.qml b/src/controls/Private/BasicTableView.qml index 4ec32264..66ad0d36 100644 --- a/src/controls/Private/BasicTableView.qml +++ b/src/controls/Private/BasicTableView.qml @@ -474,8 +474,8 @@ ScrollView { property bool pressed: false } } - property int rowHeight: rowSizeItem.implicitHeight - property int paddedRowCount: height/rowHeight + property int rowHeight: Math.floor(rowSizeItem.implicitHeight) + property int paddedRowCount: rowHeight != 0 ? height/rowHeight : 0 y: listView.contentHeight - listView.contentY + listView.originY width: parent.width |