1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 22:30:03 -04:00

Add Ui functions for doing manual layout ("put this widget here")

This commit is contained in:
Emil Ernerfeldt
2021-02-07 13:48:55 +01:00
parent bca722ddf8
commit df4c0257c0
8 changed files with 231 additions and 65 deletions

View File

@@ -62,6 +62,8 @@ impl super::View for WidgetGallery {
});
ui.set_enabled(*enabled);
ui.separator();
let grid = egui::Grid::new("my_grid")
.striped(true)
.spacing([40.0, 4.0]);