This commit is contained in:
griffi-gh 2024-02-26 23:49:53 +01:00
parent 0cd4e3a8a1
commit 7d5869c2cb

View file

@ -51,7 +51,7 @@ fn main() {
.add_child(ui); .add_child(ui);
Container::default() Container::default()
.with_padding((10., 20.)) .with_padding((10., 20.))
.with_corner_radius((10., 20., 30., 40.)) .with_corner_radius((10., 20., 50., 10.))
.with_background(color::DARK_RED) .with_background(color::DARK_RED)
.with_children(|ui| { .with_children(|ui| {
Text::default() Text::default()