59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://h1sdn3cjclqi"]
|
|
|
|
[ext_resource type="Script" path="res://loaded.gd" id="1_ntmjw"]
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_ntmjw")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
layout_mode = 2
|
|
text = "Loaded !"
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Foobar"
|
|
|
|
[node name="Label2" type="Label" parent="PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "another one"
|
|
|
|
[node name="CheckBox" type="CheckBox" parent="PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
theme_override_font_sizes/font_size = 1
|
|
|
|
[node name="PanelContainer2" type="PanelContainer" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer2"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="TextureButton" type="TextureButton" parent="PanelContainer2/HBoxContainer"]
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer2/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Foobar"
|
|
|
|
[node name="Button2" type="Button" parent="PanelContainer2/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
text = "+ NEW"
|
|
|
|
[connection signal="pressed" from="PanelContainer2/HBoxContainer/Button2" to="." method="_on_button_2_pressed"]
|