mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Depcrecate ui.horizontal_for_text and ui.horizontal_wrapped_for_text
They just add unnecessary complexity at this point
This commit is contained in:
@@ -176,7 +176,7 @@ impl WidgetGallery {
|
||||
|
||||
ui.add(doc_link_label("CollapsingHeader", "collapsing"));
|
||||
ui.collapsing("Click to see what is hidden!", |ui| {
|
||||
ui.horizontal_wrapped_for_text(egui::TextStyle::Body, |ui| {
|
||||
ui.horizontal_wrapped(|ui| {
|
||||
ui.label(
|
||||
"Not much, as it turns out - but here is a gold star for you for checking:",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user