Fix max_height for Scrollable

This commit is contained in:
Héctor Ramón Jiménez 2022-07-18 23:38:44 +02:00
parent 7e5a5ae743
commit cdd3802e68
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 4 additions and 1 deletions

View file

@ -133,6 +133,7 @@ where
limits,
Widget::<Message, Renderer>::width(self),
self.height,
u32::MAX,
|renderer, limits| {
self.content.as_widget().layout(renderer, limits)
},