Kinda fixed layout issues

main
Elijah Voigt 3 months ago
parent a4dc81b4fb
commit dd73f923df

@ -144,6 +144,7 @@ fn init_debug_ui(mut commands: Commands) {
flex_direction: FlexDirection::Row,
top: Val::Px(25.0),
height: Val::Percent(90.0),
width: Val::Percent(80.0),
..default()
},
BackgroundColor(BLACK.into()),
@ -153,6 +154,7 @@ fn init_debug_ui(mut commands: Commands) {
Node {
flex_direction: FlexDirection::Column,
height: Val::Percent(100.0),
width: Val::Percent(40.0),
overflow: Overflow::scroll_y(),
..default()
},
@ -170,7 +172,7 @@ fn init_debug_ui(mut commands: Commands) {
flex_direction: FlexDirection::Column,
padding: UiRect::all(Val::Px(10.0)),
overflow: Overflow::scroll_y(),
max_width: Val::Percent(50.0),
width: Val::Percent(60.0),
..default()
},
BackgroundColor(ORANGE_RED.into()),

Loading…
Cancel
Save