Add some default spacing for Toggler

This commit is contained in:
Héctor Ramón Jiménez 2023-08-30 05:34:01 +02:00
parent c44611cc7d
commit ffd0f4df45
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -85,7 +85,7 @@ where
text_line_height: text::LineHeight::default(),
text_alignment: alignment::Horizontal::Left,
text_shaping: text::Shaping::Basic,
spacing: 0.0,
spacing: Self::DEFAULT_SIZE / 2.0,
font: None,
style: Default::default(),
}