Optional capsule bg
This commit is contained in:
parent
071100459f
commit
95d2dbe3fc
13 changed files with 26 additions and 17 deletions
|
|
@ -32,7 +32,7 @@ Rectangle {
|
|||
implicitWidth: isVertical ? Math.round(Style.capsuleHeight * scaling) : (trayFlow.implicitWidth + Style.marginS * scaling * 2)
|
||||
implicitHeight: isVertical ? (trayFlow.implicitHeight + Style.marginS * scaling * 2) : Math.round(Style.capsuleHeight * scaling)
|
||||
radius: Math.round(Style.radiusM * scaling)
|
||||
color: compact ? Color.transparent : Color.mSurfaceVariant
|
||||
color: Settings.data.bar.showCapsule ? Color.mSurfaceVariant : Color.transparent
|
||||
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue