From 0b193e53adc5884c994d2ef3ee084b3260714646 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 28 Mar 2024 20:53:54 +0100 Subject: [PATCH] fix text box position --- src/hud.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hud.rs b/src/hud.rs index 0ad1d88..64db06a 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -309,8 +309,8 @@ fn setup( width: Val::Percent(50.), align_items: AlignItems::Start, position_type: PositionType::Absolute, - bottom: Val::VMin(10.0), - left: Val::VMin(25.0), + bottom: Val::Vh(10.0), + left: Val::Vw(25.0), ..default() }, ..default()