Merge pull request #2299 from iced-rs/fix/tooltip-size-hint
Add `size_hint` implementation for `Tooltip`
This commit is contained in:
commit
f6f0c01546
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue