1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00

Reorder some functions in Region

This commit is contained in:
Emil Ernerfeldt
2020-05-01 09:35:44 +02:00
parent b73fbb33d8
commit f97dcdc9b5
4 changed files with 233 additions and 226 deletions

View File

@@ -55,7 +55,7 @@ impl State {
);
region.add_label("This is not JavaScript. This is Rust, running at 60 FPS. This is the web page, reinvented with game tech.");
region.add_label("This is also work in progress, and not ready for production... yet :)");
region.horizontal(Align::Min, |region| {
region.horizontal(|region| {
region.add_label("Project home page:");
region.add_hyperlink("https://github.com/emilk/emigui/");
});