提交更新
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
|
||||
[node name="LineEditTemplate" type="PanelContainer" node_paths=PackedStringArray("label", "labels", "lineEdit", "lineEdits")]
|
||||
script = ExtResource("1_yrfyl")
|
||||
label = NodePath("MarginContainer/Layout/Label")
|
||||
labels = []
|
||||
lineEdit = NodePath("MarginContainer/Layout/LineEdit")
|
||||
lineEdits = []
|
||||
label = NodePath("MarginContainer/Layout/0/Label")
|
||||
labels = [NodePath("MarginContainer/Layout/0/Label"), NodePath("MarginContainer/Layout/1/Label"), NodePath("MarginContainer/Layout/2/Label")]
|
||||
lineEdit = NodePath("MarginContainer/Layout/0/LineEdit")
|
||||
lineEdits = [NodePath("MarginContainer/Layout/0/LineEdit"), NodePath("MarginContainer/Layout/1/LineEdit"), NodePath("MarginContainer/Layout/2/LineEdit")]
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
@@ -16,12 +16,46 @@ theme_type_variation = &"Margin_16px"
|
||||
[node name="Layout" type="HBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Layout"]
|
||||
[node name="0" type="HBoxContainer" parent="MarginContainer/Layout"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Layout/0"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "格式 e.g.温湿度"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="MarginContainer/Layout"]
|
||||
[node name="LineEdit" type="LineEdit" parent="MarginContainer/Layout/0"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "温湿度 e.g 42"
|
||||
|
||||
[node name="1" type="HBoxContainer" parent="MarginContainer/Layout"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Layout/1"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "格式 e.g.温湿度"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="MarginContainer/Layout/1"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "温湿度 e.g 42"
|
||||
|
||||
[node name="2" type="HBoxContainer" parent="MarginContainer/Layout"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Layout/2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "格式 e.g.温湿度"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="MarginContainer/Layout/2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "温湿度 e.g 42"
|
||||
|
Reference in New Issue
Block a user