调整了模板
This commit is contained in:
7
Artists/Services/UXContextMenu.tscn
Normal file
7
Artists/Services/UXContextMenu.tscn
Normal file
@@ -0,0 +1,7 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://if0lpo1vxjax"]
|
||||
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContextMenu.cs" id="1_i7uwt"]
|
||||
|
||||
[node name="UXContextMenu" type="PopupMenu"]
|
||||
visible = true
|
||||
script = ExtResource("1_i7uwt")
|
@@ -2,12 +2,14 @@
|
||||
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContainer.cs" id="1_yrfyl"]
|
||||
|
||||
[node name="LineEditTemplate" type="PanelContainer" node_paths=PackedStringArray("label", "labels", "lineEdit", "lineEdits")]
|
||||
[node name="LineEditTemplate" type="PanelContainer" node_paths=PackedStringArray("label", "labels", "buttons", "lineEdit", "lineEdits", "optionButtons")]
|
||||
script = ExtResource("1_yrfyl")
|
||||
label = NodePath("MarginContainer/Layout/0/Label")
|
||||
labels = [NodePath("MarginContainer/Layout/0/Label"), NodePath("MarginContainer/Layout/1/Label"), NodePath("MarginContainer/Layout/2/Label")]
|
||||
buttons = []
|
||||
lineEdit = NodePath("MarginContainer/Layout/0/LineEdit")
|
||||
lineEdits = [NodePath("MarginContainer/Layout/0/LineEdit"), NodePath("MarginContainer/Layout/1/LineEdit"), NodePath("MarginContainer/Layout/2/LineEdit")]
|
||||
optionButtons = []
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user