WizardController: make scrollbar visible

This commit is contained in:
selsta 2019-07-22 22:27:34 +02:00
parent a65222d057
commit d4a6826d13
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -273,12 +273,13 @@ Rectangle {
clip: true clip: true
ScrollBar.vertical: ScrollBar { ScrollBar.vertical: ScrollBar {
parent: wizardFlickable.parent parent: wizardController
anchors.left: parent.right anchors.left: parent.right
anchors.leftMargin: 3 anchors.leftMargin: -14 // 10 margin + 4 scrollbar width
anchors.top: parent.top anchors.top: parent.top
anchors.topMargin: 4 anchors.topMargin: persistentSettings.customDecorations ? 60 : 10
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.bottomMargin: persistentSettings.customDecorations ? 15 : 10
} }
onFlickingChanged: { onFlickingChanged: {