feat(native): add Tooltip widget
This commit is contained in:
parent
4de164dcc7
commit
a19f89d3a6
23 changed files with 580 additions and 18 deletions
|
|
@ -200,8 +200,14 @@ where
|
|||
fn overlay(
|
||||
&mut self,
|
||||
layout: Layout<'_>,
|
||||
overlay_content_bounds: Option<Rectangle>,
|
||||
cursor_position: Point,
|
||||
) -> Option<overlay::Element<'_, Message, Renderer>> {
|
||||
self.content.overlay(layout.children().next().unwrap())
|
||||
self.content.overlay(
|
||||
layout.children().next().unwrap(),
|
||||
overlay_content_bounds,
|
||||
cursor_position,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue