1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Try out the Radio Canada font

This commit is contained in:
Emil Ernerfeldt
2026-06-24 12:00:07 -07:00
parent 7c600b3c76
commit bf3a973b5c
15 changed files with 126 additions and 170 deletions

View File

@@ -152,8 +152,9 @@ fn test_scroll_down() {
let mut harness = test_scroll_harness();
let button = harness.get_by_label("Hidden Button");
button.scroll_down();
button.scroll_down();
for _ in 0..10 {
button.scroll_down();
}
harness.run();
harness.get_by_label("Hidden Button").click();
@@ -174,7 +175,9 @@ fn test_masking() {
.as_millis();
ui.label("I should not be masked.");
ui.label(format!("Timestamp: {timestamp}"));
// Render the timestamp with a monospace font so that the layout width
// does not depend on which digits the current time happens to contain.
ui.monospace(format!("Timestamp: {timestamp}"));
ui.label("I should also not be masked.");
});