world.spawn((
Name::new("root"),
Node {
width: percent(100),
height: percent(100),
align_items: AlignItems::Center,
justify_content: JustifyContent::Center,
flex_direction: FlexDirection::Column,
..default()
},
));
i would like to link 4 node to the root, not chained them just (1 parent ,4 children)
if i add 4 children![Node{..default}] to the root bundle my runtime panic how to do this properly ?