QmlDesigner.ItemLibrary: Hide scroll bar when not needed

Task-number: BAUHAUS-447
Task-number: BAUHAUS-639
This commit is contained in:
Jörg Schummer
2010-04-29 14:40:33 +03:00
committed by Lasse Holmstedt
parent 34ae2e836d
commit ad0c4647b2

View File

@@ -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