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
@@ -42,8 +42,7 @@ Item {
active: root.fill
anchors.fill: parent
sourceComponent: Rectangle {
radius: 9999
sourceComponent: Circle {
color: root.colSecondary
}
}
@@ -40,10 +40,9 @@ ProgressBar {
implicitWidth: valueBarWidth
}
contentItem: Rectangle {
contentItem: Pill {
id: contentItem
anchors.fill: parent
radius: 9999
color: root.trackColor
visible: false
@@ -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