summaryrefslogtreecommitdiffstats
path: root/src/private/ScrollViewHelper.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/private/ScrollViewHelper.qml')
-rw-r--r--src/private/ScrollViewHelper.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/private/ScrollViewHelper.qml b/src/private/ScrollViewHelper.qml
index 9c39e2b97..c8e1c8360 100644
--- a/src/private/ScrollViewHelper.qml
+++ b/src/private/ScrollViewHelper.qml
@@ -157,7 +157,7 @@ Item {
z: 1
anchors.bottom: cornerFill.top
anchors.bottomMargin: hscrollbar.visible ? 0 : frameMargin
- maximumValue: contentHeight > availableHeight ? contentHeight - availableHeight : 0
+ maximumValue: contentHeight > availableHeight ? contentHeight - availableHeight + __viewTopMargin : 0
minimumValue: 0
anchors.right: parent.right
anchors.top: parent.top