Reworked node display and worked on DSL interpretation
This commit is contained in:
@@ -1,12 +1,28 @@
|
||||
[gd_scene format=3 uid="uid://by0khq5dmxjvm"]
|
||||
|
||||
[node name="MoveNode" type="PanelContainer" unique_id=245583237]
|
||||
[ext_resource type="Script" uid="uid://b6kxwmuhmruul" path="res://Scripts/DSL/NodeDisplay.cs" id="1_mexpj"]
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=1629099069]
|
||||
[node name="Move" type="PanelContainer" unique_id=1474470717 node_paths=PackedStringArray("editorDisplay", "listDisplay")]
|
||||
anchors_preset = 14
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_bottom = 31.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource("1_mexpj")
|
||||
editorDisplay = NodePath("EditorDisplay")
|
||||
listDisplay = NodePath("ListDisplay")
|
||||
|
||||
[node name="EditorDisplay" type="PanelContainer" parent="." unique_id=245583237]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="EditorDisplay" unique_id=1629099069]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Flavour" type="RichTextLabel" parent="HBoxContainer" unique_id=1497013575]
|
||||
[node name="Flavour" type="RichTextLabel" parent="EditorDisplay/HBoxContainer" unique_id=1497013575]
|
||||
layout_mode = 2
|
||||
text = "Move to: "
|
||||
fit_content = true
|
||||
@@ -14,20 +30,24 @@ autowrap_mode = 0
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="CoordinateX" type="SpinBox" parent="HBoxContainer" unique_id=485214217]
|
||||
[node name="CoordinateX" type="SpinBox" parent="EditorDisplay/HBoxContainer" unique_id=485214217]
|
||||
layout_mode = 2
|
||||
rounded = true
|
||||
alignment = 1
|
||||
prefix = "X"
|
||||
|
||||
[node name="CoordinateY" type="SpinBox" parent="HBoxContainer" unique_id=724940645]
|
||||
[node name="CoordinateY" type="SpinBox" parent="EditorDisplay/HBoxContainer" unique_id=724940645]
|
||||
layout_mode = 2
|
||||
rounded = true
|
||||
alignment = 1
|
||||
prefix = "Y"
|
||||
|
||||
[node name="CoordinateZ" type="SpinBox" parent="HBoxContainer" unique_id=578943647]
|
||||
[node name="CoordinateZ" type="SpinBox" parent="EditorDisplay/HBoxContainer" unique_id=578943647]
|
||||
layout_mode = 2
|
||||
rounded = true
|
||||
alignment = 1
|
||||
prefix = "Z"
|
||||
|
||||
[node name="ListDisplay" type="Button" parent="." unique_id=347942160]
|
||||
layout_mode = 2
|
||||
text = "Move"
|
||||
|
||||
Reference in New Issue
Block a user