|
|
|
@ -36,11 +36,11 @@ fn spawn_nav(events: Query<(Entity, &GameUi), Added<GameUi>>, mut commands: Comm
|
|
|
|
flex_direction: FlexDirection::Row, // ?
|
|
|
|
flex_direction: FlexDirection::Row, // ?
|
|
|
|
padding: UiRect::all(Val::Px(3.0)),
|
|
|
|
padding: UiRect::all(Val::Px(3.0)),
|
|
|
|
margin: UiRect::all(Val::Px(3.0)),
|
|
|
|
margin: UiRect::all(Val::Px(3.0)),
|
|
|
|
width: Val::Percent(80.0),
|
|
|
|
width: Val::Percent(100.0),
|
|
|
|
max_height: Val::Percent(80.0),
|
|
|
|
max_height: Val::Percent(100.0),
|
|
|
|
overflow: Overflow::clip(),
|
|
|
|
overflow: Overflow::clip(),
|
|
|
|
justify_content: JustifyContent::Center,
|
|
|
|
justify_content: JustifyContent::Start,
|
|
|
|
align_items: AlignItems::Center,
|
|
|
|
align_items: AlignItems::Start,
|
|
|
|
..default()
|
|
|
|
..default()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
background_color: BackgroundColor(Color::PURPLE),
|
|
|
|
background_color: BackgroundColor(Color::PURPLE),
|
|
|
|
|