fix unicode characters that arent in roboto

This commit is contained in:
Dustin Carlino 2020-03-27 16:56:34 -07:00
parent 6135fe606a
commit 8288a4b6af
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -58,7 +58,7 @@ impl<T: 'static + Clone> Menu<T> {
}
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(" <EFBFBD>"));
}
// TODO BG color should be on the TextSpan, so this isn't so terrible?