godot-psd-training/trainings/training_desc_dialog.tscn
2024-04-26 18:29:21 +08:00

62 lines
2.1 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://qh8b3g6n3k2u"]
[ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="1_8qohy"]
[ext_resource type="Script" path="res://trainings/training_desc_dialog.gd" id="2_3504l"]
[ext_resource type="FontFile" uid="uid://bkbpyidjguavf" path="res://Assets/FeiHuaSongTi-2.ttf" id="2_s842n"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_040cp"]
[node name="TrainingDescDialog" type="Window"]
title = "实训"
initial_position = 1
size = Vector2i(300, 200)
wrap_controls = true
unresizable = true
transparent = true
theme = ExtResource("1_8qohy")
theme_override_fonts/title_font = ExtResource("2_s842n")
script = ExtResource("2_3504l")
[node name="PanelContainer" type="PanelContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_040cp")
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="SceneDescription" type="Label" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
text = "场景说明"
[node name="Control" type="Control" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
[node name="Control" type="Control" parent="PanelContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Start" type="Button" parent="PanelContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "开始"
[node name="Quit" type="Button" parent="PanelContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "退出"
[node name="Control2" type="Control" parent="PanelContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[connection signal="pressed" from="PanelContainer/VBoxContainer/HBoxContainer/Start" to="." method="_on_start_pressed"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/HBoxContainer/Quit" to="." method="_on_quit_pressed"]