Fixed Button layout behaviour

pull/10/head
kziolkowski 7 months ago
parent 4e010220bf
commit c6e0cfe4d9

@ -19,14 +19,24 @@ grow_vertical = 2
texture = ExtResource("1_qerdf")
expand_mode = 2
stretch_mode = 6
metadata/_edit_use_anchors_ = true
[node name="Start" type="Button" parent="CanvasLayer/TextureRect"]
layout_mode = 0
offset_left = 571.0
offset_top = 559.0
offset_right = 617.0
offset_bottom = 590.0
custom_minimum_size = Vector2(100, 30)
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -76.0
offset_top = -98.0
offset_right = 24.0
offset_bottom = -67.0
grow_horizontal = 2
grow_vertical = 0
scale = Vector2(2, 2)
text = "Start"
icon_alignment = 1
[connection signal="pressed" from="CanvasLayer/TextureRect/Start" to="." method="LoadScene"]

Loading…
Cancel
Save