mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-25 08:28:42 -06:00
add wrap to vs demo
This commit is contained in:
parent
4a1b3e4a95
commit
32349fbb48
|
@ -42,6 +42,7 @@ ui_main!(
|
|||
.with_padding((5., 8.))
|
||||
.with_gap(15.)
|
||||
.with_background(color::rgb_hex(0x3d3c3e))
|
||||
.with_wrap(true) //XXX: not authentic but great for demostration
|
||||
.with_children(|ui| {
|
||||
Image::new(stuff.vscode_icon)
|
||||
.with_size(size!(auto, 24))
|
||||
|
|
Loading…
Reference in a new issue