2024-03-25 10:22:36 +00:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://ixg127wfv7wo"]
|
2024-01-11 18:19:16 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://components/popup.gd" id="1_ck1vn"]
|
2024-03-25 10:22:36 +00:00
|
|
|
[ext_resource type="Theme" uid="uid://bq8dsxeo34sl" path="res://res/pixel_ui_theme/RetroDECKTheme.tres" id="1_oqd8s"]
|
2024-01-11 18:19:16 +00:00
|
|
|
|
|
|
|
[node name="Popup" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2024-03-25 10:22:36 +00:00
|
|
|
theme = ExtResource("1_oqd8s")
|
2024-01-11 18:19:16 +00:00
|
|
|
script = ExtResource("1_ck1vn")
|
|
|
|
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
2024-03-25 10:22:36 +00:00
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
|
2024-01-11 18:19:16 +00:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
2024-03-25 10:22:36 +00:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
|
2024-01-11 18:19:16 +00:00
|
|
|
layout_mode = 2
|
2024-03-25 10:22:36 +00:00
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/margin_left = 10
|
|
|
|
theme_override_constants/margin_top = 0
|
|
|
|
theme_override_constants/margin_right = 0
|
|
|
|
theme_override_constants/margin_bottom = 0
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/MarginContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 23
|
|
|
|
text = "This is the label"
|
|
|
|
|
|
|
|
[node name="BackButton" type="Button" parent="Panel/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 10
|
2024-01-11 18:19:16 +00:00
|
|
|
text = "Back"
|
|
|
|
|
2024-03-25 10:22:36 +00:00
|
|
|
[node name="ContentContainer" type="Panel" parent="Panel/MarginContainer/VBoxContainer"]
|
2024-01-11 18:19:16 +00:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2024-03-25 10:22:36 +00:00
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/ContentContainer"]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
theme_override_constants/margin_left = 10
|
|
|
|
theme_override_constants/margin_top = 6
|
|
|
|
theme_override_constants/margin_right = 10
|
|
|
|
theme_override_constants/margin_bottom = 6
|
|
|
|
|
2024-08-02 20:25:39 +00:00
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="Panel/MarginContainer/VBoxContainer/ContentContainer/MarginContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
2024-03-25 10:22:36 +00:00
|
|
|
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer/BackButton" to="." method="_on_back_pressed"]
|