aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/macos/ScrollView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/macos/ScrollView.qml')
-rw-r--r--src/imports/controls/macos/ScrollView.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/imports/controls/macos/ScrollView.qml b/src/imports/controls/macos/ScrollView.qml
index 7940bb95..aced3809 100644
--- a/src/imports/controls/macos/ScrollView.qml
+++ b/src/imports/controls/macos/ScrollView.qml
@@ -51,6 +51,9 @@ T.ScrollView {
// (doesn't float on top), and in that case, the contents will show through them.
contentItem.clip: clip && (ScrollBar.vertical.visible || ScrollBar.horizontal.visible)
+ rightPadding: ScrollBar.vertical.visible ? ScrollBar.vertical.width : 0
+ bottomPadding: ScrollBar.horizontal.visible ? ScrollBar.horizontal.height : 0
+
ScrollBar.vertical: ScrollBar {
parent: control
x: control.mirrored ? 0 : control.width - width