2023-07-11 00:14:36 +08:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://btc6smeueu517"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContainer.cs" id="1_yrfyl"]
|
|
|
|
|
2023-07-17 04:10:14 +08:00
|
|
|
[node name="LineEditTemplate" type="PanelContainer" node_paths=PackedStringArray("label", "labels", "buttons", "lineEdit", "lineEdits", "optionButtons")]
|
2023-09-15 23:02:46 +08:00
|
|
|
custom_minimum_size = Vector2(512, 0)
|
2023-07-11 00:14:36 +08:00
|
|
|
script = ExtResource("1_yrfyl")
|
2023-07-12 15:27:27 +08:00
|
|
|
label = NodePath("MarginContainer/Layout/0/Label")
|
|
|
|
labels = [NodePath("MarginContainer/Layout/0/Label"), NodePath("MarginContainer/Layout/1/Label"), NodePath("MarginContainer/Layout/2/Label")]
|
2023-07-17 04:10:14 +08:00
|
|
|
buttons = []
|
2023-07-12 15:27:27 +08:00
|
|
|
lineEdit = NodePath("MarginContainer/Layout/0/LineEdit")
|
|
|
|
lineEdits = [NodePath("MarginContainer/Layout/0/LineEdit"), NodePath("MarginContainer/Layout/1/LineEdit"), NodePath("MarginContainer/Layout/2/LineEdit")]
|
2023-07-17 04:10:14 +08:00
|
|
|
optionButtons = []
|
2023-07-11 00:14:36 +08:00
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"Margin_16px"
|
|
|
|
|
|
|
|
[node name="Layout" type="HBoxContainer" parent="MarginContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
2023-07-12 15:27:27 +08:00
|
|
|
[node name="0" type="HBoxContainer" parent="MarginContainer/Layout"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Layout/0"]
|
2023-09-15 23:02:46 +08:00
|
|
|
custom_minimum_size = Vector2(200, 0)
|
2023-07-12 15:27:27 +08:00
|
|
|
layout_mode = 2
|
|
|
|
text = "格式 e.g.温湿度"
|
|
|
|
|
|
|
|
[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"]
|
2023-07-11 00:14:36 +08:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "格式 e.g.温湿度"
|
|
|
|
|
2023-07-12 15:27:27 +08:00
|
|
|
[node name="LineEdit" type="LineEdit" parent="MarginContainer/Layout/2"]
|
2023-07-11 00:14:36 +08:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
placeholder_text = "温湿度 e.g 42"
|