ArchUpdater: improved the look

This commit is contained in:
LemmyCook 2025-08-28 15:55:03 -04:00
parent 42408572ab
commit 3cc8c8fb03
3 changed files with 59 additions and 89 deletions

View file

@ -24,6 +24,7 @@ RowLayout {
NLabel {
label: root.label
description: root.description
visible: root.label !== "" || root.description !== ""
}
Rectangle {
@ -31,7 +32,7 @@ RowLayout {
implicitWidth: root.baseSize * scaling
implicitHeight: root.baseSize * scaling
radius: Math.max(2 * scaling, Style.radiusXS * scaling)
radius: Style.radiusXS * scaling
color: root.checked ? root.activeColor : Color.mSurface
border.color: root.checked ? root.activeColor : Color.mOutline
border.width: Math.max(1, Style.borderM * scaling)