summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/controls/TableView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml
index c9cbf4523..de46469b9 100644
--- a/src/controls/TableView.qml
+++ b/src/controls/TableView.qml
@@ -558,7 +558,7 @@ ScrollView {
id: listView
focus: true
activeFocusOnTab: root.activeFocusOnTab
- anchors.topMargin: tableHeader.height
+ anchors.topMargin: headerVisible ? tableHeader.height : 0
anchors.fill: parent
currentIndex: -1
visible: columnCount > 0
@@ -954,7 +954,7 @@ ScrollView {
width: columnCount === 1 ? viewport.width + __verticalScrollBar.width : modelData.width
implicitWidth: headerStyle.implicitWidth
visible: modelData.visible
- height: headerVisible ? headerStyle.height : 0
+ height: headerStyle.height
Loader {
id: headerStyle