aboutsummaryrefslogtreecommitdiff
path: root/MiddlePanel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'MiddlePanel.qml')
-rw-r--r--MiddlePanel.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml
index 614aa6ed..a689731e 100644
--- a/MiddlePanel.qml
+++ b/MiddlePanel.qml
@@ -209,13 +209,13 @@ Rectangle {
clip: true
ScrollBar.vertical: ScrollBar {
- parent: mainFlickable.parent
+ parent: root
anchors.left: parent.right
- anchors.leftMargin: 3
+ anchors.leftMargin: -14 // 10 margin + 4 scrollbar width
anchors.top: parent.top
- anchors.topMargin: 4
+ anchors.topMargin: persistentSettings.customDecorations ? 60 : 10
anchors.bottom: parent.bottom
- anchors.bottomMargin: persistentSettings.customDecorations ? 4 : 0
+ anchors.bottomMargin: persistentSettings.customDecorations ? 15 : 10
}
onFlickingChanged: {