replace 9999 radius with pill

This commit is contained in:
end-4
2026-03-11 22:10:23 +01:00
parent a316f91e86
commit 3bb9127e32
3 changed files with 3 additions and 6 deletions
@@ -11,10 +11,9 @@ ScrollBar {
active: hovered || pressed
property color color: Looks.colors.controlBg
contentItem: Rectangle {
contentItem: Pill {
implicitWidth: root.active ? 4 : 2
implicitHeight: root.visualSize
radius: 9999
color: root.color
opacity: root.policy === ScrollBar.AlwaysOn || (root.active && root.size < 1.0) ? 0.5 : 0