diff --git a/src/hud.rs b/src/hud.rs index aea4e69..6c432ef 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -192,10 +192,11 @@ fn setup( TextSection::new("", style.clone()), TextSection::new("", style.clone()), // Target ]).with_style(Style { + position_type: PositionType::Absolute, top: Val::VMin(2.0), - left: Val::VMin(3.0), + right: Val::VMin(3.0), ..default() - }); + }).with_text_justify(JustifyText::Right); bundle_fps.visibility = visibility; commands.spawn(( GaugesText,