Changed formatting of tutorial text to be the side of the screen

Still got some formatting issues, mostly the font size on smaller
windows, but that can be addressed later...
main
Elijah C. Voigt 2 years ago
parent 80ee571cb1
commit ad7090aa47

@ -165,11 +165,11 @@ fn initialize_tutorial(
style: Style { style: Style {
width: Val::Percent(100.0), width: Val::Percent(100.0),
height: Val::Percent(100.0), height: Val::Percent(100.0),
justify_content: JustifyContent::FlexEnd, justify_content: JustifyContent::Center,
align_items: AlignItems::FlexEnd, align_items: AlignItems::FlexEnd,
flex_direction: FlexDirection::Column, flex_direction: FlexDirection::Column,
position_type: PositionType::Absolute, position_type: PositionType::Absolute,
padding: UiRect::all(Val::Px(50.0)), padding: UiRect::all(Val::Px(25.0)),
..default() ..default()
}, },
background_color: Color::NONE.into(), background_color: Color::NONE.into(),
@ -184,7 +184,7 @@ fn initialize_tutorial(
NodeBundle { NodeBundle {
style: Style { style: Style {
width: Val::Percent(33.0), width: Val::Percent(33.0),
height: Val::Percent(33.0), max_height: Val::Percent(100.0),
padding: UiRect::all(Val::Px(25.0)), padding: UiRect::all(Val::Px(25.0)),
..default() ..default()
}, },

Loading…
Cancel
Save