diff options
-rw-r--r-- | src/imports/controls/macos/ScrollBar.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/imports/controls/macos/ScrollBar.qml b/src/imports/controls/macos/ScrollBar.qml index 72430e95..c935fecb 100644 --- a/src/imports/controls/macos/ScrollBar.qml +++ b/src/imports/controls/macos/ScrollBar.qml @@ -50,7 +50,10 @@ NativeStyle.DefaultScrollBar { NativeStyle.ScrollBar { // Fade a hovered-looking version of the handle // on top of the default handle when hovering it - anchors.fill: contentItem + x: contentItem.x + y: contentItem.y + width: contentItem.width + height: contentItem.height control: controlRoot subControl: NativeStyle.ScrollBar.Handle overrideState: NativeStyle.ScrollBar.AlwaysHovered |