update example

This commit is contained in:
griffi-gh 2024-02-19 13:57:39 +01:00
parent a4c06ac61d
commit da58e8112f

View file

@ -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)),