From ad0c4647b219e21867aef4e56a6934ef3fd9931a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Schummer?= <ext-jorg.2.schummer@nokia.com> Date: Thu, 29 Apr 2010 14:40:33 +0300 Subject: [PATCH] QmlDesigner.ItemLibrary: Hide scroll bar when not needed Task-number: BAUHAUS-447 Task-number: BAUHAUS-639 --- .../qmldesigner/components/itemlibrary/qml/ItemsView.qml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/plugins/qmldesigner/components/itemlibrary/qml/ItemsView.qml b/src/plugins/qmldesigner/components/itemlibrary/qml/ItemsView.qml index b56ae2b9183..002a003d694 100644 --- a/src/plugins/qmldesigner/components/itemlibrary/qml/ItemsView.qml +++ b/src/plugins/qmldesigner/components/itemlibrary/qml/ItemsView.qml @@ -219,10 +219,7 @@ content position out of scope regarding the scrollbar. */ anchors.bottom: parent.bottom anchors.bottomMargin: 1 anchors.right: parent.right -// The next line unfortunately introduces a cyclic property binding (strangely, -// in SectionView) -// width: (itemsFlickable.contentHeight > itemsFlickable.height)? 11:0 - width: 11 + width: (itemsFlickable.contentHeight > itemsFlickable.height)? 11:0 Scrollbar { id: scrollbar -- GitLab