Update glyphon and cosmic-text

This commit is contained in:
Héctor Ramón Jiménez 2023-05-02 00:58:33 +02:00
parent 4bd290afe7
commit edf3432bf5
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
5 changed files with 20 additions and 5 deletions

View file

@ -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);