refactor: better tooltips and helper methods for managing subsurfaces/popups

This commit is contained in:
Ashley Wulber 2025-02-26 14:14:15 -05:00
parent 41bd495a56
commit 6f643d1d3a
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
7 changed files with 255 additions and 125 deletions

View file

@ -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,