From f9db8d1efe68634b7b06ce07f12ea33a3e37d79c Mon Sep 17 00:00:00 2001 From: Cory Forsstrom Date: Wed, 31 Jan 2024 14:14:58 -0800 Subject: [PATCH] Call size_hint from Map --- core/src/element.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/element.rs b/core/src/element.rs index fa07ad69dd..16d890f4d0 100644 --- a/core/src/element.rs +++ b/core/src/element.rs @@ -308,6 +308,10 @@ where self.widget.size() } + fn size_hint(&self) -> Size { + self.widget.size_hint() + } + fn layout( &self, tree: &mut Tree,