From 5d638e3f5b5cf0580640401d1c59f5a0638fd8bd Mon Sep 17 00:00:00 2001 From: CactiChameleon9 <51231053+CactiChameleon9@users.noreply.github.com> Date: Sat, 16 Jul 2022 22:55:03 +0100 Subject: [PATCH] Keep aspect ratio on UI so horizontal stretching looks fine --- Scenes/BattleScene.tscn | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Scenes/BattleScene.tscn b/Scenes/BattleScene.tscn index c34c736..7b7419a 100644 --- a/Scenes/BattleScene.tscn +++ b/Scenes/BattleScene.tscn @@ -49,10 +49,14 @@ editor_draw_drag_margin = true [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="CardView" parent="CanvasLayer" instance=ExtResource( 4 )] -margin_top = 367.0 -margin_right = -314.0 +anchor_top = 0.509722 +anchor_right = 0.754687 +margin_top = -7.62939e-06 +margin_right = 1.52588e-05 [node name="DiceView" parent="CanvasLayer" instance=ExtResource( 5 )] -margin_left = 966.0 -margin_top = 367.0 +anchor_left = 0.754687 +anchor_top = 0.509722 +margin_left = 1.52588e-05 +margin_top = -7.62939e-06 grow_horizontal = 0