summaryrefslogtreecommitdiffstats
path: root/pure/src/widget/container.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-18 19:59:38 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-18 19:59:38 +0200
commit7e5a5ae743785c153fc328c8aa4ed290298ecc62 (patch)
tree2f69f59233cb3f71b75b76bb3ea0f2b3188cb8ef /pure/src/widget/container.rs
parent61fd5b0050724a6b05f2b959c546a58cb6073de3 (diff)
downloadiced-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.rs2
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,