diff --git a/src/bin/trees/main.rs b/src/bin/trees/main.rs index c872fe8..901a3a5 100644 --- a/src/bin/trees/main.rs +++ b/src/bin/trees/main.rs @@ -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()),