layout, radius and border

This commit is contained in:
Benjamin Palko 2025-09-06 08:45:35 -04:00
parent 7de7ae19bb
commit af396bc2c5
17 changed files with 67 additions and 65 deletions

View file

@ -29,7 +29,7 @@ Switch {
implicitHeight: 24
x: control.width - width - control.rightPadding
y: parent.height / 2 - height / 2
radius: 16
radius: Styling.theme.radiusSelector
color: "transparent"
border.color: control.checked ? Styling.theme.primary : Styling.theme.basecontent
border.width: 2
@ -45,7 +45,7 @@ Switch {
}
width: parent.width / 2 - indicator.padding
height: parent.height - indicator.padding
radius: 16
radius: Styling.theme.radiusSelector
color: control.checked ? Styling.theme.primary : Styling.theme.basecontent
}
}