summaryrefslogtreecommitdiffstats
path: root/src/controls/TableView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/TableView.qml')
-rw-r--r--src/controls/TableView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml
index 9aa5cf2c5..586f1211d 100644
--- a/src/controls/TableView.qml
+++ b/src/controls/TableView.qml
@@ -476,7 +476,7 @@ ScrollView {
implicitHeight: 150
frameVisible: true
- __scrollBarTopMargin: Qt.platform.os === "osx" ? headerrow.height : 0
+ __scrollBarTopMargin: (__style && __style.transientScrollBars || Qt.platform.os === "osx") ? headerrow.height : 0
__viewTopMargin: headerrow.height
/*! \internal */