Fixed Button layout behaviour
This commit is contained in:
@@ -19,14 +19,24 @@ grow_vertical = 2
|
|||||||
texture = ExtResource("1_qerdf")
|
texture = ExtResource("1_qerdf")
|
||||||
expand_mode = 2
|
expand_mode = 2
|
||||||
stretch_mode = 6
|
stretch_mode = 6
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="Start" type="Button" parent="CanvasLayer/TextureRect"]
|
[node name="Start" type="Button" parent="CanvasLayer/TextureRect"]
|
||||||
layout_mode = 0
|
custom_minimum_size = Vector2(100, 30)
|
||||||
offset_left = 571.0
|
layout_mode = 1
|
||||||
offset_top = 559.0
|
anchors_preset = 7
|
||||||
offset_right = 617.0
|
anchor_left = 0.5
|
||||||
offset_bottom = 590.0
|
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)
|
scale = Vector2(2, 2)
|
||||||
text = "Start"
|
text = "Start"
|
||||||
|
icon_alignment = 1
|
||||||
|
|
||||||
[connection signal="pressed" from="CanvasLayer/TextureRect/Start" to="." method="LoadScene"]
|
[connection signal="pressed" from="CanvasLayer/TextureRect/Start" to="." method="LoadScene"]
|
||||||
|
|||||||
Reference in New Issue
Block a user