egui
egui copied to clipboard
Fix: `Sides` did not apply the layout position correctly.
Run this code
CentralPanel::default().show(ctx, |ui| {
Sides::new().show(
ui,
|ui| {
ui.label("1");
},
|ui| {
ui.label("2");
},
);
Sides::new().show(
ui,
|ui| {
ui.label("11");
},
|ui| {
ui.label("22");
},
);
Sides::new().show(
ui,
|ui| {
ui.label("111");
},
|ui| {
ui.label("222");
},
);
});
Before
After
Preview available at https://egui-pr-preview.github.io/pr/5232-fix-sides-layout-position Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.