Lots of little tweaks and fixes
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bmmc3x8n1d7qp"]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/component/ConfirmDialog.gd" id="1_mmcd"]
|
||||
|
||||
[node name="MainMenuConfirmDialog" type="Control" node_paths=PackedStringArray("btnYes", "btnNo")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
process_mode = 3
|
||||
script = ExtResource("1_mmcd")
|
||||
btnYes = NodePath("VBoxContainer/Yes")
|
||||
btnNo = NodePath("VBoxContainer/No")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Return to main menu?"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Yes" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Yes"
|
||||
|
||||
[node name="No" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "No"
|
||||
Reference in New Issue
Block a user