Make InputDiceView resize properly in an autogrid

This commit is contained in:
CactiChameleon9 2022-07-25 11:06:28 +01:00
parent eab9ca42f6
commit a9b07decbf

View File

@ -114,6 +114,9 @@ tracks/2/keys = {
[node name="InputDiceView" type="Control"] [node name="InputDiceView" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
rect_min_size = Vector2( 75, 75 )
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource( 3 ) script = ExtResource( 3 )
[node name="Particles2D" type="Particles2D" parent="."] [node name="Particles2D" type="Particles2D" parent="."]
@ -140,7 +143,6 @@ valign = 1
[node name="Sprite" type="TextureRect" parent="."] [node name="Sprite" type="TextureRect" parent="."]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
rect_min_size = Vector2( 75, 75 )
rect_pivot_offset = Vector2( 640, 360 ) rect_pivot_offset = Vector2( 640, 360 )
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3