1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10: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:
Emil Ernerfeldt
2021-03-21 14:46:32 +01:00
parent 953d2bb39b
commit eaa1ed96ee
4 changed files with 9 additions and 4 deletions

View File

@@ -285,7 +285,7 @@ impl BackendPanel {
"Everything you see is rendered as textured triangles. There is no DOM. There are no HTML elements. \
This is not JavaScript. This is Rust, running at 60 FPS. This is the web page, reinvented with game tech.");
ui.label("This is also work in progress, and not ready for production... yet :)");
ui.horizontal_wrapped_for_text(egui::TextStyle::Body, |ui| {
ui.horizontal_wrapped(|ui| {
ui.label("Project home page:");
ui.hyperlink("https://github.com/emilk/egui");
});