From 8288a4b6af018046b2185f86db3aa41a83fcb687 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Fri, 27 Mar 2020 16:56:34 -0700 Subject: [PATCH] fix unicode characters that arent in roboto --- ezgui/src/managed.rs | 4 ++-- ezgui/src/widgets/menu.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ezgui/src/managed.rs b/ezgui/src/managed.rs index f572349197..261089e766 100644 --- a/ezgui/src/managed.rs +++ b/ezgui/src/managed.rs @@ -197,8 +197,8 @@ impl Widget { ) -> Widget { Widget::custom_checkbox( enabled, - Btn::text_fg(format!("☐ {}", label)).build(ctx, label, hotkey.clone()), - Btn::text_fg(format!("☑ {}", label)).build(ctx, label, hotkey), + Btn::text_fg(format!("[ ] {}", label)).build(ctx, label, hotkey.clone()), + Btn::text_fg(format!("[X] {}", label)).build(ctx, label, hotkey), ) .outline(2.0, Color::WHITE) .named(label) diff --git a/ezgui/src/widgets/menu.rs b/ezgui/src/widgets/menu.rs index 1e54ae829f..2f27a305a1 100644 --- a/ezgui/src/widgets/menu.rs +++ b/ezgui/src/widgets/menu.rs @@ -58,7 +58,7 @@ impl Menu { } if choice.tooltip.is_some() { // TODO Ideally unicode info symbol, but the fonts don't seem to have it - txt.append(Line(" ⚠️")); + txt.append(Line(" �")); } // TODO BG color should be on the TextSpan, so this isn't so terrible?