Update README.md

This commit is contained in:
griffi-gh 2024-02-28 17:16:37 +01:00 committed by GitHub
parent d7971d32ec
commit c5df17b4cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,9 +25,7 @@
</table> </table>
<h2>Example</h2> <h2>Example</h2>
<img src="https://raw.githubusercontent.com/griffi-gh/hui/master/.assets/exemplaris.png" height="200" align="right"> <img src="https://raw.githubusercontent.com/griffi-gh/hui/master/.assets/exemplaris.png" height="175" align="right" float="right">
<div>
<img src="https://raw.githubusercontent.com/griffi-gh/hui/master/.assets/000000.png" width="300" height="0" align="left">
<pre lang="rust">Container::default() <pre lang="rust">Container::default()
.with_size(size!(100%, 50%)) .with_size(size!(100%, 50%))
.with_align(Alignment::Center) .with_align(Alignment::Center)
@ -53,7 +51,7 @@
}) })
.add_child(ui); .add_child(ui);
}) })
.add_root(&mut hui, resolution);</pre></div> .add_root(&mut hui, resolution);</pre>
<h2>Backends</h2> <h2>Backends</h2>
<p> <p>