2023-07-09 00:48:08 +08:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://dey6r76kttak6"]
|
2023-07-05 10:20:08 +08:00
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[ext_resource type="Texture2D" uid="uid://d1uver224k3px" path="res://addons/ui_design_tool/assets/icons/folder_open-white-18dp.svg" id="1_jbnj1"]
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uocfi"]
|
|
|
|
bg_color = Color(0.156863, 0.152941, 0.172549, 1)
|
|
|
|
|
|
|
|
[node name="FactoryThemePreview" type="PanelContainer"]
|
2023-07-05 10:20:08 +08:00
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2023-07-09 00:48:08 +08:00
|
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_uocfi")
|
|
|
|
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="."]
|
|
|
|
layout_mode = 2
|
2023-07-05 10:20:08 +08:00
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Scroll"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Scroll/HBoxContainer"]
|
2023-07-05 10:20:08 +08:00
|
|
|
custom_minimum_size = Vector2(512, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Button" type="Button" parent="Scroll/HBoxContainer/VBoxContainer"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
text = "按钮"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Button2" type="Button" parent="Scroll/HBoxContainer/VBoxContainer"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"Accent"
|
|
|
|
text = "按钮"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Button3" type="Button" parent="Scroll/HBoxContainer/VBoxContainer"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"ColorPanel"
|
|
|
|
text = "按钮"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Button4" type="Button" parent="Scroll/HBoxContainer/VBoxContainer"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"Flat"
|
|
|
|
text = "按钮"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="ItemList" type="ItemList" parent="Scroll/HBoxContainer/VBoxContainer"]
|
2023-07-08 00:02:32 +08:00
|
|
|
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"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Scroll/HBoxContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/separation = 8
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="Scroll/HBoxContainer/VBoxContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"SideTab"
|
|
|
|
text = "SideBar 1"
|
|
|
|
|
|
|
|
[node name="Button2" type="Button" parent="Scroll/HBoxContainer/VBoxContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"SideTab"
|
|
|
|
text = "SideBar 1"
|
|
|
|
icon = ExtResource("1_jbnj1")
|
|
|
|
|
|
|
|
[node name="Button3" type="Button" parent="Scroll/HBoxContainer/VBoxContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"SideTab"
|
|
|
|
text = "SideBar 1"
|
|
|
|
|
2023-07-11 00:14:36 +08:00
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="Scroll/HBoxContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="Scroll/HBoxContainer/VBoxContainer/VBoxContainer2"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"Option"
|
|
|
|
text = "Option 1"
|
|
|
|
|
|
|
|
[node name="Button2" type="Button" parent="Scroll/HBoxContainer/VBoxContainer/VBoxContainer2"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"Option"
|
|
|
|
text = "Option 1"
|
|
|
|
|
|
|
|
[node name="Button3" type="Button" parent="Scroll/HBoxContainer/VBoxContainer/VBoxContainer2"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"Option"
|
|
|
|
text = "Option 1"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="Scroll/HBoxContainer"]
|
2023-07-05 10:20:08 +08:00
|
|
|
custom_minimum_size = Vector2(512, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Label" type="Label" parent="Scroll/HBoxContainer/VBoxContainer2"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
text = "普通的标签"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Label5" type="Label" parent="Scroll/HBoxContainer/VBoxContainer2"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"WhitePanel"
|
|
|
|
text = "SuccessBox"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Label2" type="Label" parent="Scroll/HBoxContainer/VBoxContainer2"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"SuccessBox"
|
|
|
|
text = "SuccessBox"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Label3" type="Label" parent="Scroll/HBoxContainer/VBoxContainer2"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"AccentBox"
|
|
|
|
text = "AccentBox"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Label4" type="RichTextLabel" parent="Scroll/HBoxContainer/VBoxContainer2"]
|
2023-07-05 10:20:08 +08:00
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"ErrorBox"
|
|
|
|
theme_override_colors/default_color = Color(0.0470588, 0.0470588, 0.0470588, 1)
|
|
|
|
bbcode_enabled = true
|
|
|
|
text = "[b]ErrorBox[/b]
|
|
|
|
a error happened"
|
|
|
|
fit_content = true
|
2023-07-08 00:02:32 +08:00
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="LineEdit" type="LineEdit" parent="Scroll/HBoxContainer/VBoxContainer2"]
|
|
|
|
layout_mode = 2
|
|
|
|
placeholder_text = "LineEdit"
|
|
|
|
|
|
|
|
[node name="LineEdit2" type="LineEdit" parent="Scroll/HBoxContainer/VBoxContainer2"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_type_variation = &"SearchBar"
|
|
|
|
placeholder_text = "SearchBar"
|
|
|
|
|
|
|
|
[node name="VBoxContainer3" type="VBoxContainer" parent="Scroll/HBoxContainer"]
|
2023-07-08 00:02:32 +08:00
|
|
|
layout_mode = 2
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="TabBar" type="TabBar" parent="Scroll/HBoxContainer/VBoxContainer3"]
|
2023-07-08 00:02:32 +08:00
|
|
|
layout_mode = 2
|
|
|
|
tab_count = 3
|
|
|
|
tab_0/title = "Tab1"
|
|
|
|
tab_1/title = "Tab2"
|
|
|
|
tab_2/title = "Tab3"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="TabContainer" type="TabContainer" parent="Scroll/HBoxContainer/VBoxContainer3"]
|
2023-07-08 00:02:32 +08:00
|
|
|
custom_minimum_size = Vector2(512, 256)
|
|
|
|
layout_mode = 2
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Window 1" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/TabContainer"]
|
2023-07-08 00:02:32 +08:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Window 1"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Window 2" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/TabContainer"]
|
2023-07-08 00:02:32 +08:00
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Window 2"
|
|
|
|
|
2023-07-09 00:48:08 +08:00
|
|
|
[node name="Window 3" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/TabContainer"]
|
2023-07-08 00:02:32 +08:00
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Window 3"
|