diff options
author | 2022-07-18 19:59:38 +0200 | |
---|---|---|
committer | 2022-07-18 19:59:38 +0200 | |
commit | 7e5a5ae743785c153fc328c8aa4ed290298ecc62 (patch) | |
tree | 2f69f59233cb3f71b75b76bb3ea0f2b3188cb8ef /pure/src/widget/container.rs | |
parent | 61fd5b0050724a6b05f2b959c546a58cb6073de3 (diff) | |
download | iced-7e5a5ae743785c153fc328c8aa4ed290298ecc62.tar.gz iced-7e5a5ae743785c153fc328c8aa4ed290298ecc62.tar.bz2 iced-7e5a5ae743785c153fc328c8aa4ed290298ecc62.zip |
Fix `max_width` and `max_height` for `Container`
Diffstat (limited to 'pure/src/widget/container.rs')
-rw-r--r-- | pure/src/widget/container.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pure/src/widget/container.rs b/pure/src/widget/container.rs index 8ea9ca72..44ffff8c 100644 --- a/pure/src/widget/container.rs +++ b/pure/src/widget/container.rs @@ -156,6 +156,8 @@ where limits, self.width, self.height, + self.max_width, + self.max_height, self.padding, self.horizontal_alignment, self.vertical_alignment, |