diff options
-rw-r--r-- | widget/src/toggler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/toggler.rs b/widget/src/toggler.rs index ca6e37b0..853d27ac 100644 --- a/widget/src/toggler.rs +++ b/widget/src/toggler.rs @@ -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(), |