添加了部分界面

This commit is contained in:
CortexCore
2023-07-08 00:02:32 +08:00
parent f4e85d4f9b
commit a2da9039f8
23 changed files with 768 additions and 48 deletions

View File

@@ -1,7 +0,0 @@
[gd_resource type="Resource" load_steps=2 format=3 uid="uid://bs26uhhpwxcoy"]
[ext_resource type="Script" path="res://Artists/Scripts/Resource/StringResource.cs" id="1_yt3o3"]
[resource]
script = ExtResource("1_yt3o3")
value = ""

View File

@@ -0,0 +1,7 @@
[gd_resource type="Resource" script_class="StringResource" load_steps=2 format=3 uid="uid://cok584x4q8wn0"]
[ext_resource type="Script" path="res://BITKit/Scripts/Resource/StringResource.cs" id="1_4lqjc"]
[resource]
script = ExtResource("1_4lqjc")
value = "It's worked!"

View File

@@ -33,6 +33,16 @@ layout_mode = 2
theme_type_variation = &"Flat"
text = "按钮"
[node name="ItemList" type="ItemList" parent="HBoxContainer/VBoxContainer"]
layout_mode = 2
auto_height = true
item_count = 5
item_0/text = "item 1"
item_1/text = "item 2"
item_2/text = "item 3"
item_3/text = "item 4"
item_4/text = "item 5"
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(512, 0)
layout_mode = 2
@@ -64,3 +74,31 @@ bbcode_enabled = true
text = "[b]ErrorBox[/b]
a error happened"
fit_content = true
[node name="VBoxContainer3" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
[node name="TabBar" type="TabBar" parent="HBoxContainer/VBoxContainer3"]
layout_mode = 2
tab_count = 3
tab_0/title = "Tab1"
tab_1/title = "Tab2"
tab_2/title = "Tab3"
[node name="TabContainer" type="TabContainer" parent="HBoxContainer/VBoxContainer3"]
custom_minimum_size = Vector2(512, 256)
layout_mode = 2
[node name="Window 1" type="Label" parent="HBoxContainer/VBoxContainer3/TabContainer"]
layout_mode = 2
text = "Window 1"
[node name="Window 2" type="Label" parent="HBoxContainer/VBoxContainer3/TabContainer"]
visible = false
layout_mode = 2
text = "Window 2"
[node name="Window 3" type="Label" parent="HBoxContainer/VBoxContainer3/TabContainer"]
visible = false
layout_mode = 2
text = "Window 3"

File diff suppressed because one or more lines are too long