make switch of more correct size

This commit is contained in:
end-4
2025-11-13 21:23:02 +01:00
parent 2ea3904b56
commit e07ddaa0b3
2 changed files with 1 additions and 2 deletions
@@ -34,7 +34,6 @@ RippleButton {
StyledSwitch {
id: switchWidget
down: root.down
scale: 0.6
Layout.fillWidth: false
checked: root.checked
onClicked: root.clicked()
@@ -9,7 +9,7 @@ import Qt5Compat.GraphicalEffects
*/
Switch {
id: root
property real scale: 0.6 // Default in m3 spec is huge af
property real scale: 0.75 // Default in m3 spec is huge af
implicitHeight: 32 * root.scale
implicitWidth: 52 * root.scale
property color activeColor: Appearance?.colors.colPrimary ?? "#685496"