Loosen layout::Limits for Container children
This commit is contained in:
parent
ef15a6b027
commit
621e5a55b7
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ where
|
|||
.width(self.width)
|
||||
.height(self.height);
|
||||
|
||||
let mut content = self.content.layout(renderer, &limits);
|
||||
let mut content = self.content.layout(renderer, &limits.loose());
|
||||
let size = limits.resolve(content.size());
|
||||
|
||||
content.align(self.horizontal_alignment, self.vertical_alignment, size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue