添加了标识更新
但是只有界面没有功能
This commit is contained in:
27
Artists/Templates/LineEditTemplate.tscn
Normal file
27
Artists/Templates/LineEditTemplate.tscn
Normal file
@@ -0,0 +1,27 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://btc6smeueu517"]
|
||||
|
||||
[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")]
|
||||
script = ExtResource("1_yrfyl")
|
||||
label = NodePath("MarginContainer/Layout/Label")
|
||||
labels = []
|
||||
lineEdit = NodePath("MarginContainer/Layout/LineEdit")
|
||||
lineEdits = []
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"Margin_16px"
|
||||
|
||||
[node name="Layout" type="HBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Layout"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "格式 e.g.温湿度"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="MarginContainer/Layout"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "温湿度 e.g 42"
|
39
Artists/Templates/Option_Button.tscn
Normal file
39
Artists/Templates/Option_Button.tscn
Normal file
@@ -0,0 +1,39 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b57xrg2ye60dy"]
|
||||
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContainer.cs" id="1_vmd75"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e8vip"]
|
||||
bg_color = Color(1, 1, 1, 0.501961)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[node name="Option-Button" type="PanelContainer" node_paths=PackedStringArray("button", "labels", "lineEdits")]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
script = ExtResource("1_vmd75")
|
||||
button = NodePath("Button")
|
||||
labels = []
|
||||
lineEdits = []
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(384, 0)
|
||||
layout_mode = 2
|
||||
text = "模板类型"
|
||||
alignment = 0
|
||||
|
||||
[node name="Panel" type="Panel" parent="Button"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -35.0
|
||||
offset_top = -4.0
|
||||
offset_right = -27.0
|
||||
offset_bottom = 4.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_e8vip")
|
17
Artists/Templates/标题栏Template.tscn
Normal file
17
Artists/Templates/标题栏Template.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene format=3 uid="uid://dqd08tc6xidpy"]
|
||||
|
||||
[node name="标题栏Template" type="VBoxContainer"]
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderLarge"
|
||||
text = "标识更新"
|
||||
|
||||
[node name="Context" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
text = "通常该过程是自动更新的,但有时候会有需要手动更新标识的情况"
|
||||
|
||||
[node name="占位符" type="Control" parent="."]
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
layout_mode = 2
|
Reference in New Issue
Block a user