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

Nicer looking indent regions with a gray vertical line

This commit is contained in:
Emil Ernerfeldt
2020-04-21 10:28:25 +02:00
parent b89ab7aa3f
commit ed67cc6e59
3 changed files with 23 additions and 11 deletions

View File

@@ -58,7 +58,7 @@ impl State {
region.set_align(Align::Min);
region.add_label("WebGl painter info:");
region.indent(|region| {
region.indent(Id::new(&"webgl region"), |region| {
region.add_label(self.webgl_painter.debug_info());
});
region.add(