forked from qt-creator/qt-creator
QmlDesigner.ItemLibrary: Hide scroll bar when not needed
Task-number: BAUHAUS-447 Task-number: BAUHAUS-639
This commit is contained in:
committed by
Lasse Holmstedt
parent
34ae2e836d
commit
ad0c4647b2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user