添加了标识更新
但是只有界面没有功能
This commit is contained in:
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")
|
Reference in New Issue
Block a user