Set default width of toggler widget to Shrink
This commit is contained in:
parent
8cadd3b994
commit
1eabd38219
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ where
|
||||||
is_toggled,
|
is_toggled,
|
||||||
on_toggle: Box::new(f),
|
on_toggle: Box::new(f),
|
||||||
label: label.into(),
|
label: label.into(),
|
||||||
width: Length::Fill,
|
width: Length::Shrink,
|
||||||
size: Self::DEFAULT_SIZE,
|
size: Self::DEFAULT_SIZE,
|
||||||
text_size: None,
|
text_size: None,
|
||||||
text_line_height: text::LineHeight::default(),
|
text_line_height: text::LineHeight::default(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue