diff options
Diffstat (limited to 'src/quickcontrols/windows/ScrollView.qml')
-rw-r--r-- | src/quickcontrols/windows/ScrollView.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickcontrols/windows/ScrollView.qml b/src/quickcontrols/windows/ScrollView.qml index 28f2d8e0fc..65d65899ca 100644 --- a/src/quickcontrols/windows/ScrollView.qml +++ b/src/quickcontrols/windows/ScrollView.qml @@ -13,8 +13,8 @@ T.ScrollView { implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, contentHeight + topPadding + bottomPadding) - rightPadding: ScrollBar.vertical.visible ? ScrollBar.vertical.width : 0 - bottomPadding: ScrollBar.horizontal.visible ? ScrollBar.horizontal.height : 0 + rightPadding: effectiveScrollBarWidth + bottomPadding: effectiveScrollBarHeight // Don't set __notCustomizable here, because it would require special-casing // setFlickable's call to setContentItem. |