Skip to content

Commit

Permalink
Replace Label::wrap(false) -> Label::extend()
Browse files Browse the repository at this point in the history
Addresses egui #4556 (emilk/egui#4556)
  • Loading branch information
zhaop committed Jul 6, 2024
1 parent 7bf7db6 commit 2ede2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_editor_pls/src/controls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
}
Expand Down

0 comments on commit 2ede2b2

Please sign in to comment.