Node initialization
This commit is contained in:
parent
ae1d4d3885
commit
efbbc43e2b
6 changed files with 81 additions and 54 deletions
17
Scenes/Nodes/Node Row.tscn
Normal file
17
Scenes/Nodes/Node Row.tscn
Normal file
|
@ -0,0 +1,17 @@
|
|||
[gd_scene format=3 uid="uid://bdcxusbd86oox"]
|
||||
|
||||
[node name="Node Row" type="HBoxContainer"]
|
||||
|
||||
[node name="Input" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "◉"
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Testtesttesttesttest"
|
||||
clip_text = true
|
||||
|
||||
[node name="Output" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "◉"
|
21
Scenes/Nodes/Node.tscn
Normal file
21
Scenes/Nodes/Node.tscn
Normal file
|
@ -0,0 +1,21 @@
|
|||
[gd_scene format=3 uid="uid://b0arjg8r75f8y"]
|
||||
|
||||
[node name="Node" type="Panel"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
offset_right = 100.0
|
||||
offset_bottom = 100.0
|
||||
|
||||
[node name="Holder" type="VBoxContainer" parent="."]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Title" type="Label" parent="Holder"]
|
||||
layout_mode = 2
|
||||
text = "Test"
|
||||
horizontal_alignment = 1
|
||||
clip_text = true
|
Loading…
Add table
Add a link
Reference in a new issue