summaryrefslogtreecommitdiffstats
path: root/examples/checkbox
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-02 00:58:33 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-02 01:02:33 +0200
commitedf3432bf5176be13437b9fd5d25b890ec9dbe69 (patch)
tree6acba55171f28af1a3c9c4e65a99ad10abc11c65 /examples/checkbox
parent4bd290afe7d81d9aaf7467b3ce91491f6600261a (diff)
downloadiced-edf3432bf5176be13437b9fd5d25b890ec9dbe69.tar.gz
iced-edf3432bf5176be13437b9fd5d25b890ec9dbe69.tar.bz2
iced-edf3432bf5176be13437b9fd5d25b890ec9dbe69.zip
Update `glyphon` and `cosmic-text`
Diffstat (limited to 'examples/checkbox')
-rw-r--r--examples/checkbox/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/checkbox/src/main.rs b/examples/checkbox/src/main.rs
index c5f3c134..5852e978 100644
--- a/examples/checkbox/src/main.rs
+++ b/examples/checkbox/src/main.rs
@@ -1,6 +1,6 @@
use iced::executor;
use iced::font::{self, Font};
-use iced::widget::{checkbox, column, container};
+use iced::widget::{checkbox, column, container, text};
use iced::{Application, Command, Element, Length, Settings, Theme};
const ICON_FONT: Font = Font::with_name("icons");
@@ -59,6 +59,7 @@ impl Application for Example {
font: ICON_FONT,
code_point: '\u{e901}',
size: None,
+ shaping: text::Shaping::Basic,
});
let content = column![default_checkbox, custom_checkbox].spacing(22);