Show scrollbars permanently

Closes #63
This commit is contained in:
Floris Bos 2020-05-23 13:02:38 +02:00
parent 84a1ca0f71
commit c96e5474d0

View file

@ -301,7 +301,7 @@ ApplicationWindow {
boundsBehavior: Flickable.StopAtBounds
ScrollBar.vertical: ScrollBar {
width: 10
//policy: ScrollBar.AlwaysOn
policy: oslist.contentHeight > oslist.height ? ScrollBar.AlwaysOn : ScrollBar.AsNeeded
}
}
@ -314,7 +314,7 @@ ApplicationWindow {
boundsBehavior: Flickable.StopAtBounds
ScrollBar.vertical: ScrollBar {
width: 10
//policy: ScrollBar.AlwaysOn
policy: suboslist.contentHeight > suboslist.height ? ScrollBar.AlwaysOn : ScrollBar.AsNeeded
}
}
}
@ -605,6 +605,7 @@ ApplicationWindow {
boundsBehavior: Flickable.StopAtBounds
ScrollBar.vertical: ScrollBar {
width: 10
policy: dstlist.contentHeight > dstlist.height ? ScrollBar.AlwaysOn : ScrollBar.AsNeeded
}
}
}