|
|
|
@ -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()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|