diff options
author | 2019-12-30 20:54:04 +0100 | |
---|---|---|
committer | 2019-12-30 21:00:27 +0100 | |
commit | 2ff0e48142c302cb93130164d083589bb2ac4979 (patch) | |
tree | 0abdf5892d999c0e98b42849c74cab8a619fbb5e /native/src/widget/svg.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 'native/src/widget/svg.rs')
-rw-r--r-- | native/src/widget/svg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/svg.rs b/native/src/widget/svg.rs index 9580f195..25587ffa 100644 --- a/native/src/widget/svg.rs +++ b/native/src/widget/svg.rs @@ -30,7 +30,7 @@ impl Svg { Svg { handle: handle.into(), width: Length::Fill, - height: Length::Fill, + height: Length::Shrink, } } |