Parent ScrollBars to their Flingables, not the StackView

This ensures they disappear when navigating to a new page
This commit is contained in:
Cameron Gutman committed 2020-05-10 12:53:27 -07:00
1 parent 573c470965
commit 8d89983eeb
3 files changed
+3 -27

No files matched your search

+1 -5
View File
@@ -16,12 +16,8 @@ Flickable {
contentHeight: settingsColumn1.height > settingsColumn2.height ? settingsColumn1.height : settingsColumn2.height
ScrollBar.vertical: ScrollBar {
parent: settingsPage.parent
anchors {
top: settingsPage.top
left: settingsPage.right
bottom: settingsPage.bottom
left: parent.right
leftMargin: -10
}
}