godot-psd-training/trainings/faultTip/fault_tip_dialog.tscn

65 lines
2.4 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://b055j66siytth"]
[ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="1_8qohy"]
[ext_resource type="FontFile" uid="uid://bkbpyidjguavf" path="res://Assets/FeiHuaSongTi-2.ttf" id="2_s842n"]
[ext_resource type="Script" path="res://trainings/faultTip/fault_tip_dialog.gd" id="3_3o3av"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_040cp"]
[node name="FaultTipDialog" type="Window"]
title = "提示"
initial_position = 1
size = Vector2i(400, 300)
wrap_controls = true
unresizable = true
transparent = true
theme = ExtResource("1_8qohy")
theme_override_fonts/title_font = ExtResource("2_s842n")
script = ExtResource("3_3o3av")
[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="ScrollContainer" type="ScrollContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 0
[node name="TipDescription" type="Label" parent="PanelContainer/VBoxContainer/ScrollContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(390, 100)
layout_mode = 2
text = "场景说明是等等等等等等等等的方法是的发生发生的发生的发生发生的发生的发生发顺丰腐蚀毒粉"
autowrap_mode = 1
[node name="MarginContainer2" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 60)
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer/MarginContainer2"]
layout_mode = 2
[node name="Control" type="Control" parent="PanelContainer/VBoxContainer/MarginContainer2/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Start" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer2/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
text = "确定"
[node name="Control2" type="Control" parent="PanelContainer/VBoxContainer/MarginContainer2/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer2/HBoxContainer/Start" to="." method="_on_start_pressed"]