diff --git a/interface/resources/qml/windows/ScrollingWindow.qml b/interface/resources/qml/windows/ScrollingWindow.qml index 840432f262..df15526039 100644 --- a/interface/resources/qml/windows/ScrollingWindow.qml +++ b/interface/resources/qml/windows/ScrollingWindow.qml @@ -43,8 +43,8 @@ Window { // type should only consist of logic sized areas, with nothing drawn (although the // default value for the frame property does include visual decorations) property var pane: Item { - property bool isScrolling: scrollView.contentChildren.length > 0 ? - (scrollView.height < scrollView.contentChildren[0].height) : + property bool isScrolling: /*scrollView.contentChildren.length > 0 ? + (scrollView.height < scrollView.contentChildren[0].height) :*/ false property int contentWidth: scrollView.width - (isScrolling ? 10 : 0) property int scrollHeight: scrollView.height @@ -86,7 +86,15 @@ Window { anchors.bottomMargin: footerPane.height ScrollBar.vertical: ScrollBar { + id: control policy: ScrollBar.AsNeeded + parent: scrollView + x: scrollView.width - width + y: scrollView.topPadding + height: scrollView.availableHeight + active: scrollView.ScrollBar.vertical.active + visible: control.size < 1.0 + contentItem: Item { implicitWidth: 8 Rectangle {