This commit is contained in:
Nathan Sobo 2023-07-17 16:48:31 -06:00
parent f5682a3cb5
commit 18b0385d73
3 changed files with 15 additions and 2 deletions

View file

@ -33,9 +33,12 @@ impl View for PlaygroundView {
.width(100.)
.height(100.)
.fill(Color::red())
.row()
.children([
Node::new().width(20.).height(20.).fill(Color::green()),
Node::new().width(20.).height(20.).fill(Color::blue()),
Node::new().width(30.).height(30.).fill(Color::yellow()),
Node::new().width(50.).height(50.).fill(Color::yellow()),
])
.into_any()