refactor: better tooltips and helper methods for managing subsurfaces/popups
This commit is contained in:
parent
41bd495a56
commit
6f643d1d3a
7 changed files with 255 additions and 125 deletions
|
|
@ -75,7 +75,7 @@ impl<'a, Message> Tooltip<'a, Message> {
|
|||
on_hover: Box::new(on_hover),
|
||||
width: Length::Shrink,
|
||||
height: Length::Shrink,
|
||||
padding: Padding::new(5.0),
|
||||
padding: Padding::new(0.0),
|
||||
selected: false,
|
||||
style: crate::theme::Tooltip::default(),
|
||||
on_leave,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue