mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
ui example comments
This commit is contained in:
parent
875b7492c8
commit
dd34c1e237
1 changed files with 6 additions and 0 deletions
|
@ -85,6 +85,8 @@ fn setup(world: &mut World) {
|
|||
],
|
||||
);
|
||||
|
||||
// bottom left anchor with vertical fill
|
||||
|
||||
world.insert(
|
||||
(),
|
||||
vec![(Node::new(
|
||||
|
@ -95,6 +97,8 @@ fn setup(world: &mut World) {
|
|||
),)],
|
||||
);
|
||||
|
||||
// top right anchor with vertical fill
|
||||
|
||||
world.insert(
|
||||
(),
|
||||
vec![(Node::new(
|
||||
|
@ -105,6 +109,8 @@ fn setup(world: &mut World) {
|
|||
),)],
|
||||
);
|
||||
|
||||
// render order test: reddest in the back, whitest in the front
|
||||
|
||||
world.insert(
|
||||
(),
|
||||
vec![(Node::new(
|
||||
|
|
Loading…
Reference in a new issue