mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-25 16:38:42 -06:00
update example
This commit is contained in:
parent
a4c06ac61d
commit
da58e8112f
|
@ -44,7 +44,7 @@ fn main() {
|
||||||
corner_radius: Some(30.),
|
corner_radius: Some(30.),
|
||||||
elements: vec![
|
elements: vec![
|
||||||
Box::new(Container {
|
Box::new(Container {
|
||||||
padding: Sides::all(40.),
|
padding: Sides::all(20.),
|
||||||
align: (Alignment::Center, Alignment::Center),
|
align: (Alignment::Center, Alignment::Center),
|
||||||
size: (UiSize::Auto, UiSize::Auto),
|
size: (UiSize::Auto, UiSize::Auto),
|
||||||
background: Some(vec4(0.1, 0.1, 0.1, 0.5)),
|
background: Some(vec4(0.1, 0.1, 0.1, 0.5)),
|
||||||
|
|
Loading…
Reference in a new issue