diff --git a/kubi-ui/examples/test.rs b/kubi-ui/examples/test.rs index 443f90f..ce3e0c3 100644 --- a/kubi-ui/examples/test.rs +++ b/kubi-ui/examples/test.rs @@ -113,7 +113,12 @@ fn main() { }), Box::new(Container { background: Some(vec4(1., 0., 0., 1.)), - padding: Sides::horizontal_vertical(30., 5.), + padding: Sides { + top: 10., + bottom: 20., + left: 30., + right: 40., + }, elements: vec![ Box::new(Rect { size: (UiSize::Pixels(50.), UiSize::Pixels(50.)),