Use Shaping::Basic for icon helpers in examples
This commit is contained in:
parent
6df435adba
commit
665c89a062
2 changed files with 5 additions and 1 deletions
|
|
@ -460,6 +460,7 @@ fn icon(unicode: char) -> Text<'static> {
|
|||
.font(Font::with_name("Iced-Todos-Icons"))
|
||||
.width(20)
|
||||
.align_x(Center)
|
||||
.shaping(text::Shaping::Basic)
|
||||
}
|
||||
|
||||
fn edit_icon() -> Text<'static> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue