mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
eeb509cae0
we finally have a way to add nodes from a menu!! lets goooooooo Reviewed-on: https://codeberg.org/Eroax/Re-DotDeck/pulls/3 Co-authored-by: Lera Elvoé <yagich@poto.cafe> Co-committed-by: Lera Elvoé <yagich@poto.cafe>
44 lines
1.6 KiB
Text
44 lines
1.6 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://dqp08ahaho0q2"]
|
|
|
|
[ext_resource type="Script" path="res://graph_node_renderer/add_node_menu.gd" id="1_m7f7p"]
|
|
|
|
[node name="AddNodeMenu" type="MarginContainer"]
|
|
offset_right = 436.0
|
|
offset_bottom = 57.0
|
|
theme_override_constants/margin_left = 3
|
|
theme_override_constants/margin_top = 3
|
|
theme_override_constants/margin_right = 3
|
|
theme_override_constants/margin_bottom = 3
|
|
script = ExtResource("1_m7f7p")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="SearchLineEdit" type="LineEdit" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
placeholder_text = "Search"
|
|
clear_button_enabled = true
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/margin_right = 6
|
|
|
|
[node name="ScrollContentContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer/MarginContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[connection signal="gui_input" from="VBoxContainer/SearchLineEdit" to="." method="_on_search_line_edit_gui_input"]
|
|
[connection signal="text_changed" from="VBoxContainer/SearchLineEdit" to="." method="search"]
|
|
[connection signal="text_submitted" from="VBoxContainer/SearchLineEdit" to="." method="_on_search_line_edit_text_submitted"]
|