1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Add separator widget

This commit is contained in:
Emil Ernerfeldt
2019-01-13 19:15:11 +01:00
parent d1a985d7cd
commit 6e8cc8439b
4 changed files with 71 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ impl App {
pub fn show_gui(&mut self, gui: &mut Region) {
gui.add(label("Emigui").text_style(TextStyle::Heading));
gui.add(label("Emigui is an Immediate mode GUI written in Rust, compiled to WebAssembly, rendered with WebGL."));
gui.add(Separator::new());
gui.add(label(format!(
"Screen size: {} x {}",