From c5df17b4cdb4d1b17511fe29d1bd2d502ff03cef 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