summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2018-11-16 09:19:42 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2019-01-28 13:16:41 +0000
commit30476f12de5f3fdc1ee91d0065a52c8f661afa7b (patch)
tree5ea82694b856d6bca96e2df4e5f4ec08740eb18e
parentb1b68aa279275e93b867c29fa42350f42b9d9728 (diff)
downloadqtquickcontrols-30476f12de5f3fdc1ee91d0065a52c8f661afa7b.tar.gz
Fix incorrect transientScrollBars binding in BasicTableView
Fixes: QTBUG-69041 Change-Id: I7ad62850c8890d7ec53678754a164ad2bcfbdb8e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--src/controls/Private/BasicTableView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/Private/BasicTableView.qml b/src/controls/Private/BasicTableView.qml
index 1f846b57..37ecabbf 100644
--- a/src/controls/Private/BasicTableView.qml
+++ b/src/controls/Private/BasicTableView.qml
@@ -422,9 +422,9 @@ ScrollView {
interactive: Settings.hasTouchScreen
property var rowItemStack: [] // Used as a cache for rowDelegates
- readonly property bool transientScrollbars: __style && !!__style.transientScrollBars
+ readonly property bool transientScrollBars: __style && !!__style.transientScrollBars
readonly property real vScrollbarPadding: __scroller.verticalScrollBar.visible
- && !transientScrollbars && Qt.platform.os === "osx" ?
+ && !transientScrollBars && Qt.platform.os === "osx" ?
__verticalScrollBar.width + __scroller.scrollBarSpacing + root.__style.padding.right : 0
Binding {