mtd/Scenes/Menus/alert_popup.tscn

32 lines
907 B
Plaintext
Raw Normal View History

[gd_scene load_steps=2 format=3 uid="uid://6a277g802os0"]
[ext_resource type="Script" path="res://Scripts/alert_popup.gd" id="1_cac03"]
[node name="Control" type="PanelContainer"]
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
script = ExtResource("1_cac03")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Unable to connect to server"
2023-11-19 18:47:52 +11:00
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_right = 28
[node name="Button" type="Button" parent="VBoxContainer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 8
text = "OK"
2023-11-19 18:47:52 +11:00
[connection signal="pressed" from="VBoxContainer/MarginContainer/Button" to="." method="_on_button_pressed"]