forked from Shinonome/dots-hyprland
make switch of more correct size
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user