Set default width of toggler widget to Shrink

This commit is contained in:
Héctor Ramón Jiménez 2024-07-13 00:19:33 +02:00
parent 8cadd3b994
commit 1eabd38219
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -80,7 +80,7 @@ where
is_toggled,
on_toggle: Box::new(f),
label: label.into(),
width: Length::Fill,
width: Length::Shrink,
size: Self::DEFAULT_SIZE,
text_size: None,
text_line_height: text::LineHeight::default(),