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.bottom: parent.bottom
|
||||||
anchors.bottomMargin: 1
|
anchors.bottomMargin: 1
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
// The next line unfortunately introduces a cyclic property binding (strangely,
|
width: (itemsFlickable.contentHeight > itemsFlickable.height)? 11:0
|
||||||
// in SectionView)
|
|
||||||
// width: (itemsFlickable.contentHeight > itemsFlickable.height)? 11:0
|
|
||||||
width: 11
|
|
||||||
|
|
||||||
Scrollbar {
|
Scrollbar {
|
||||||
id: scrollbar
|
id: scrollbar
|
||||||
|
|||||||
Reference in New Issue
Block a user