Add size_hint implementation for Tooltip

This commit is contained in:
Héctor Ramón Jiménez 2024-02-27 01:19:48 +01:00
parent 58a7007ac1
commit 0b93ddcdbe
No known key found for this signature in database
GPG key ID: 0BF4EC06CD8E5686

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,