From 7ae6d1103eb8bd514b707a6246eea7b977481122 Mon Sep 17 00:00:00 2001 From: Patrick Zhao Date: Sat, 6 Jul 2024 16:15:35 +0200 Subject: [PATCH] Replace Label::wrap(false) -> Label::extend() Addresses egui #4556 (https://github.com/emilk/egui/pull/4556) --- crates/bevy_editor_pls/src/controls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_editor_pls/src/controls.rs b/crates/bevy_editor_pls/src/controls.rs index 01f9429..d3b0f73 100644 --- a/crates/bevy_editor_pls/src/controls.rs +++ b/crates/bevy_editor_pls/src/controls.rs @@ -397,7 +397,7 @@ impl EditorWindow for ControlsWindow { ui.label(egui::RichText::new(action.to_string()).strong()); let bindings = controls.get(action); for binding in bindings { - ui.add(egui::Label::new(format!("{}", binding)).wrap(false)); + ui.add(egui::Label::new(format!("{}", binding)).extend()); } } }