Merge pull request #2299 from iced-rs/fix/tooltip-size-hint

Add `size_hint` implementation for `Tooltip`
This commit is contained in:
Héctor Ramón 2024-02-27 01:34:49 +01:00 committed by GitHub
commit f6f0c01546
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,6 +119,10 @@ where
self.content.as_widget().size()
}
fn size_hint(&self) -> Size<Length> {
self.content.as_widget().size_hint()
}
fn layout(
&self,
tree: &mut widget::Tree,