summaryrefslogtreecommitdiffstats
path: root/examples/tooltip
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-02-23 03:16:37 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-02-23 03:16:37 +0100
commit2f766b73413fe60cd881e139fa0e84a0f0134d91 (patch)
tree8f640e109dd4f87653dd853c40b57ad82d89ed07 /examples/tooltip
parent9f60a256fc909dda0c30e301020d03d7ec28d722 (diff)
downloadiced-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.rs1
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()
}