From a9b07decbf637b0b8ba133923e175e97c0dd25e8 Mon Sep 17 00:00:00 2001 From: CactiChameleon9 Date: Mon, 25 Jul 2022 11:06:28 +0100 Subject: [PATCH] Make InputDiceView resize properly in an autogrid --- UI/InputDiceView.tscn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UI/InputDiceView.tscn b/UI/InputDiceView.tscn index 4c4fe51..7ede40f 100644 --- a/UI/InputDiceView.tscn +++ b/UI/InputDiceView.tscn @@ -114,6 +114,9 @@ tracks/2/keys = { [node name="InputDiceView" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 +rect_min_size = Vector2( 75, 75 ) +size_flags_horizontal = 3 +size_flags_vertical = 3 script = ExtResource( 3 ) [node name="Particles2D" type="Particles2D" parent="."] @@ -140,7 +143,6 @@ valign = 1 [node name="Sprite" type="TextureRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 -rect_min_size = Vector2( 75, 75 ) rect_pivot_offset = Vector2( 640, 360 ) size_flags_horizontal = 3 size_flags_vertical = 3