diff options
Diffstat (limited to 'src/private/ScrollViewHelper.qml')
-rw-r--r-- | src/private/ScrollViewHelper.qml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/private/ScrollViewHelper.qml b/src/private/ScrollViewHelper.qml index ec0194c2..3e3b4f96 100644 --- a/src/private/ScrollViewHelper.qml +++ b/src/private/ScrollViewHelper.qml @@ -99,16 +99,15 @@ Item { } } - StyleItem { - // This is the filled corner between scrollbars + Loader { id: cornerFill - elementType: "scrollareacorner" - width: visible ? vscrollbar.width : 0 + sourceComponent: __style.corner anchors.right: parent.right - height: visible ? hscrollbar.height : 0 anchors.bottom: parent.bottom anchors.bottomMargin: frameMargin anchors.rightMargin: frameMargin + width: visible ? vscrollbar.width : 0 + height: visible ? hscrollbar.height : 0 visible: hscrollbar.visible && !hscrollbar.isTransient && vscrollbar.visible && !vscrollbar.isTransient } |