summaryrefslogtreecommitdiffstats
path: root/examples/checkbox
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-08 16:19:28 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-08 16:19:28 +0200
commit180cb073bdb1429e566839b09d6fe86114c83673 (patch)
treee506f3a0739d9d64ec4c23fd94377ae09805f0c2 /examples/checkbox
parent16bf8fc7622fbe67a7d81cbe6daad329385cc44c (diff)
downloadiced-180cb073bdb1429e566839b09d6fe86114c83673.tar.gz
iced-180cb073bdb1429e566839b09d6fe86114c83673.tar.bz2
iced-180cb073bdb1429e566839b09d6fe86114c83673.zip
Add `line_height` to `checkbox::Icon`
Diffstat (limited to 'examples/checkbox')
-rw-r--r--examples/checkbox/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/checkbox/src/main.rs b/examples/checkbox/src/main.rs
index 5852e978..ef61a974 100644
--- a/examples/checkbox/src/main.rs
+++ b/examples/checkbox/src/main.rs
@@ -59,6 +59,7 @@ impl Application for Example {
font: ICON_FONT,
code_point: '\u{e901}',
size: None,
+ line_height: text::LineHeight::Relative(1.0),
shaping: text::Shaping::Basic,
});