summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-25 17:37:39 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-25 17:37:39 -0600
commit66b8dcd5b49c63d0994dacb198972277d3d5063a (patch)
treedff6d3ca9c7545f8857c8bb6e3b40082850fba3d
parentd388ef66ecb799be53491e42e24a3f92274bae9b (diff)
downloadkube-66b8dcd5b49c63d0994dacb198972277d3d5063a.tar.gz
kube-66b8dcd5b49c63d0994dacb198972277d3d5063a.zip
Only show the scrollbar if there is something to scroll
-rw-r--r--framework/qml/ScrollBar.qml1
1 files changed, 1 insertions, 0 deletions
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 {
26 implicitWidth: contentItem.implicitWidth 26 implicitWidth: contentItem.implicitWidth
27 implicitHeight: contentItem.implicitHeight 27 implicitHeight: contentItem.implicitHeight
28 28
29 visible: contentItem.height < background.height
29 30
30 contentItem: Rectangle { 31 contentItem: Rectangle {
31 implicitWidth: Kube.Units.gridUnit / 3 32 implicitWidth: Kube.Units.gridUnit / 3