Introduce Tooltip::gap to control spacing

This commit is contained in:
Héctor Ramón Jiménez 2021-02-23 03:16:37 +01:00
parent 9f60a256fc
commit 2f766b7341
3 changed files with 21 additions and 6 deletions

View file

@ -113,5 +113,6 @@ fn tooltip<'a>(
Text::new("Tooltip"),
position,
)
.gap(10)
.into()
}