diff options
author | 2019-12-30 20:54:04 +0100 | |
---|---|---|
committer | 2019-12-30 21:00:27 +0100 | |
commit | 2ff0e48142c302cb93130164d083589bb2ac4979 (patch) | |
tree | 0abdf5892d999c0e98b42849c74cab8a619fbb5e /web/src/widget/text.rs | |
parent | 74d01a69577065ce4152fc80b297e8816ab3deff (diff) | |
download | iced-2ff0e48142c302cb93130164d083589bb2ac4979.tar.gz iced-2ff0e48142c302cb93130164d083589bb2ac4979.tar.bz2 iced-2ff0e48142c302cb93130164d083589bb2ac4979.zip |
Make `Row`, `Column`, and `Checkbox` shrink by default
Diffstat (limited to '')
-rw-r--r-- | web/src/widget/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/widget/text.rs b/web/src/widget/text.rs index 2fdbc0a6..5b0bee55 100644 --- a/web/src/widget/text.rs +++ b/web/src/widget/text.rs @@ -36,7 +36,7 @@ impl Text { size: None, color: None, font: Font::Default, - width: Length::Fill, + width: Length::Shrink, height: Length::Shrink, horizontal_alignment: HorizontalAlignment::Left, vertical_alignment: VerticalAlignment::Top, |