Skip to content

Commit

Permalink
Set default width of toggler widget to Shrink
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jul 12, 2024
1 parent 8cadd3b commit 1eabd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/src/toggler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 1eabd38

Please sign in to comment.