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:
@@ -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 {}",
|
||||
|
||||
Reference in New Issue
Block a user