Add size_hint implementation for Tooltip
This commit is contained in:
parent
58a7007ac1
commit
0b93ddcdbe
1 changed files with 4 additions and 0 deletions
|
|
@ -119,6 +119,10 @@ where
|
||||||
self.content.as_widget().size()
|
self.content.as_widget().size()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn size_hint(&self) -> Size<Length> {
|
||||||
|
self.content.as_widget().size_hint()
|
||||||
|
}
|
||||||
|
|
||||||
fn layout(
|
fn layout(
|
||||||
&self,
|
&self,
|
||||||
tree: &mut widget::Tree,
|
tree: &mut widget::Tree,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue