mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Improve widget info output for potential screen readers
Part of https://github.com/emilk/egui/issues/167
This commit is contained in:
@@ -316,10 +316,11 @@ impl BackendPanel {
|
||||
}
|
||||
|
||||
ui.collapsing("Output events", |ui| {
|
||||
ui.set_max_width(350.0);
|
||||
ui.set_max_width(450.0);
|
||||
ui.label("Recent output events from egui:");
|
||||
ui.advance_cursor(8.0);
|
||||
for event in &self.output_event_history {
|
||||
ui.monospace(format!("{:?}", event));
|
||||
ui.label(format!("{:?}", event));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user