From c96e5474d0bf39582ab9f8c68cf94589c64b3379 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Sat, 23 May 2020 13:02:38 +0200 Subject: [PATCH] Show scrollbars permanently Closes #63 --- main.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.qml b/main.qml index 3b2d4ee..daa39d8 100644 --- a/main.qml +++ b/main.qml @@ -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 } } }