From 66b8dcd5b49c63d0994dacb198972277d3d5063a Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 25 Aug 2017 17:37:39 -0600 Subject: Only show the scrollbar if there is something to scroll --- framework/qml/ScrollBar.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/qml/ScrollBar.qml b/framework/qml/ScrollBar.qml index 9298c3ea..5d484614 100644 --- a/framework/qml/ScrollBar.qml +++ b/framework/qml/ScrollBar.qml @@ -26,6 +26,7 @@ T.ScrollBar { implicitWidth: contentItem.implicitWidth implicitHeight: contentItem.implicitHeight + visible: contentItem.height < background.height contentItem: Rectangle { implicitWidth: Kube.Units.gridUnit / 3 -- cgit v1.2.3