Construct Compound
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
size = Vector2i(500, 250)
|
||||
script = ExtResource("1_qoxxp")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
[node name="V1" type="VBoxContainer" parent="."]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
@@ -19,25 +19,25 @@ offset_bottom = 37.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer"]
|
||||
[node name="Label" type="Label" parent="V1"]
|
||||
layout_mode = 2
|
||||
text = "Expression:"
|
||||
|
||||
[node name="Input" type="TextEdit" parent="VBoxContainer"]
|
||||
[node name="Input" type="TextEdit" parent="V1"]
|
||||
custom_minimum_size = Vector2(450, 40)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="V1"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Load" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="Load" type="Button" parent="V1/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Load"
|
||||
|
||||
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="Cancel" type="Button" parent="V1/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Cancel"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Load" to="." method="Load"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="Cancel"]
|
||||
[connection signal="pressed" from="V1/HBoxContainer/Load" to="." method="Load"]
|
||||
[connection signal="pressed" from="V1/HBoxContainer/Cancel" to="." method="Cancel"]
|
||||
|
||||
Reference in New Issue
Block a user