From dea07fb639d27f239f1912c995c54b41eaf71435 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Wed, 28 Feb 2024 17:16:37 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 84ee133..316336b 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,7 @@

Example

- -
- +
Container::default()
   .with_size(size!(100%, 50%))
   .with_align(Alignment::Center)
@@ -53,7 +51,7 @@
       })
       .add_child(ui);
   })
-  .add_root(&mut hui, resolution);
+ .add_root(&mut hui, resolution);

Backends