fix: toggler width fixes & cleanup

This commit is contained in:
Ashley Wulber 2026-02-25 11:10:34 -05:00
parent dd02296f99
commit a501fcab34
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
6 changed files with 12 additions and 9 deletions

View file

@ -55,7 +55,7 @@ impl<'a, Message> Toggler<'a, Message> {
is_toggled,
on_toggle: None,
label: None,
width: Length::Fill,
width: Length::Shrink,
size: Self::DEFAULT_SIZE,
text_size: None,
text_line_height: text::LineHeight::default(),