mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 07:08:42 -06:00
aaa
This commit is contained in:
parent
95b4c47fbd
commit
2db8d2f056
|
@ -19,12 +19,8 @@ ui_main!(
|
||||||
run: |ui, size, _| {
|
run: |ui, size, _| {
|
||||||
Container::default()
|
Container::default()
|
||||||
.with_size(size!(100%))
|
.with_size(size!(100%))
|
||||||
.with_direction(Direction::Horizontal)
|
|
||||||
.with_align(Alignment::Center)
|
.with_align(Alignment::Center)
|
||||||
.with_padding(5.)
|
|
||||||
.with_gap(10.)
|
|
||||||
.with_background(color::WHITE)
|
.with_background(color::WHITE)
|
||||||
.with_wrap(true)
|
|
||||||
.with_children(|ui| {
|
.with_children(|ui| {
|
||||||
FillRect::default()
|
FillRect::default()
|
||||||
.with_size(size!(300, 100))
|
.with_size(size!(300, 100))
|
||||||
|
|
Loading…
Reference in a new issue