From afe2b14430f4d659fedd25ff26aa3a2aa206d08b Mon Sep 17 00:00:00 2001 From: selsta Date: Mon, 22 Jul 2019 21:39:56 +0200 Subject: QML: fix more warnings --- MiddlePanel.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'MiddlePanel.qml') 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: { -- cgit v1.2.3