2023-07-10 00:00:20 +08:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://d1rpv4oovnljv"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContainer.cs" id="1_6fjlu"]
|
|
|
|
|
2023-07-20 01:40:20 +08:00
|
|
|
[node name="传感器数据模板" type="PanelContainer" node_paths=PackedStringArray("label", "titleLabel", "labels", "buttons", "lineEdits", "optionButtons")]
|
|
|
|
custom_minimum_size = Vector2(100, 100)
|
2023-07-10 00:00:20 +08:00
|
|
|
script = ExtResource("1_6fjlu")
|
2023-07-10 15:50:11 +08:00
|
|
|
label = NodePath("VBoxContainer/MarginContainer/HBoxContainer/Label")
|
|
|
|
titleLabel = NodePath("VBoxContainer/Label")
|
2023-07-10 00:00:20 +08:00
|
|
|
labels = []
|
2023-07-20 01:40:20 +08:00
|
|
|
buttons = []
|
2023-07-10 00:00:20 +08:00
|
|
|
lineEdits = []
|
2023-07-20 01:40:20 +08:00
|
|
|
optionButtons = []
|
2023-07-10 00:00:20 +08:00
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/separation = 0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"Header"
|
|
|
|
text = "温度"
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"Margin_16px"
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/MarginContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "50"
|
|
|
|
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "摄氏度"
|