diff options
author | 2021-02-23 03:16:37 +0100 | |
---|---|---|
committer | 2021-02-23 03:16:37 +0100 | |
commit | 2f766b73413fe60cd881e139fa0e84a0f0134d91 (patch) | |
tree | 8f640e109dd4f87653dd853c40b57ad82d89ed07 /examples/tooltip | |
parent | 9f60a256fc909dda0c30e301020d03d7ec28d722 (diff) | |
download | iced-2f766b73413fe60cd881e139fa0e84a0f0134d91.tar.gz iced-2f766b73413fe60cd881e139fa0e84a0f0134d91.tar.bz2 iced-2f766b73413fe60cd881e139fa0e84a0f0134d91.zip |
Introduce `Tooltip::gap` to control spacing
Diffstat (limited to 'examples/tooltip')
-rw-r--r-- | examples/tooltip/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tooltip/src/main.rs b/examples/tooltip/src/main.rs index a49caa70..3677dc75 100644 --- a/examples/tooltip/src/main.rs +++ b/examples/tooltip/src/main.rs @@ -113,5 +113,6 @@ fn tooltip<'a>( Text::new("Tooltip"), position, ) + .gap(10) .into() } |