fix: toggler width fixes & cleanup

This commit is contained in:
Ashley Wulber 2026-02-25 11:10:34 -05:00
parent bee2d591db
commit 904133397b
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(),