wait it looks wrong

This commit is contained in:
griffi-gh 2024-02-28 17:01:43 +01:00
parent cdbc0559c2
commit d7971d32ec
2 changed files with 4 additions and 3 deletions

BIN
.assets/000000.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

View file

@ -25,8 +25,9 @@
</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" width="400" align="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)
@ -52,7 +53,7 @@
}) })
.add_child(ui); .add_child(ui);
}) })
.add_root(&mut hui, resolution);</pre> .add_root(&mut hui, resolution);</pre></div>
<h2>Backends</h2> <h2>Backends</h2>
<p> <p>