[gd_scene load_steps=5 format=3 uid="uid://dey6r76kttak6"] [ext_resource type="Texture2D" uid="uid://d1uver224k3px" path="res://addons/ui_design_tool/assets/icons/folder_open-white-18dp.svg" id="1_jbnj1"] [ext_resource type="Texture2D" uid="uid://dn7q7grbfr7kh" path="res://addons/ui_design_tool/assets/icons/refresh-white-18dp.svg" id="1_miiu5"] [ext_resource type="Script" path="res://BITKit/Scripts/UX/UXTabViewService.cs" id="3_7cg45"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uocfi"] bg_color = Color(0.156863, 0.152941, 0.172549, 1) [node name="FactoryThemePreview" type="PanelContainer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_uocfi") [node name="Scroll" type="ScrollContainer" parent="."] layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="Scroll"] layout_mode = 2 [node name="VBoxContainer" type="VBoxContainer" parent="Scroll/HBoxContainer"] custom_minimum_size = Vector2(512, 0) layout_mode = 2 [node name="Button" type="Button" parent="Scroll/HBoxContainer/VBoxContainer"] layout_mode = 2 text = "按钮" [node name="Button2" type="Button" parent="Scroll/HBoxContainer/VBoxContainer"] layout_mode = 2 theme_type_variation = &"Accent" text = "按钮" [node name="Button3" type="Button" parent="Scroll/HBoxContainer/VBoxContainer"] layout_mode = 2 theme_type_variation = &"ColorPanel" text = "按钮 ColorPanel" [node name="Button5" type="Button" parent="Scroll/HBoxContainer/VBoxContainer"] layout_mode = 2 text = "按钮" icon = ExtResource("1_miiu5") alignment = 0 [node name="Button4" type="Button" parent="Scroll/HBoxContainer/VBoxContainer"] layout_mode = 2 theme_type_variation = &"Flat" text = "按钮" [node name="ItemList" type="ItemList" parent="Scroll/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="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" [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" [node name="VBoxContainer2" type="VBoxContainer" parent="Scroll/HBoxContainer"] custom_minimum_size = Vector2(512, 0) layout_mode = 2 [node name="Label" type="Label" parent="Scroll/HBoxContainer/VBoxContainer2"] layout_mode = 2 text = "普通的标签" [node name="Label5" type="Label" parent="Scroll/HBoxContainer/VBoxContainer2"] layout_mode = 2 theme_type_variation = &"WhitePanel" text = "SuccessBox" [node name="Label2" type="Label" parent="Scroll/HBoxContainer/VBoxContainer2"] layout_mode = 2 theme_type_variation = &"SuccessBox" text = "SuccessBox" [node name="Label3" type="Label" parent="Scroll/HBoxContainer/VBoxContainer2"] layout_mode = 2 theme_type_variation = &"AccentBox" text = "AccentBox" [node name="Label4" type="RichTextLabel" parent="Scroll/HBoxContainer/VBoxContainer2"] 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 [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"] layout_mode = 2 [node name="TabBar" type="TabBar" parent="Scroll/HBoxContainer/VBoxContainer3"] layout_mode = 2 tab_count = 3 tab_0/title = "Tab1" tab_1/title = "Tab2" tab_2/title = "Tab3" [node name="TabBar2" type="TabBar" parent="Scroll/HBoxContainer/VBoxContainer3"] layout_mode = 2 theme_type_variation = &"Light" tab_count = 3 tab_0/title = "Tab1" tab_1/title = "Tab2" tab_2/title = "Tab3" [node name="TabContainer" type="TabContainer" parent="Scroll/HBoxContainer/VBoxContainer3"] custom_minimum_size = Vector2(512, 256) layout_mode = 2 [node name="Window 1" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/TabContainer"] layout_mode = 2 text = "Window 1" [node name="Window 2" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/TabContainer"] visible = false layout_mode = 2 text = "Window 2" [node name="Window 3" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/TabContainer"] visible = false layout_mode = 2 text = "Window 3" [node name="UXTabService" type="HBoxContainer" parent="Scroll/HBoxContainer/VBoxContainer3" node_paths=PackedStringArray("tabs")] layout_mode = 2 script = ExtResource("3_7cg45") tabs = [null, null, null, null] [node name="VBoxContainer" type="VBoxContainer" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService"] layout_mode = 2 [node name="Button" type="Button" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/VBoxContainer"] layout_mode = 2 theme_type_variation = &"SideTab" text = "0" [node name="Button2" type="Button" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/VBoxContainer"] layout_mode = 2 theme_type_variation = &"SideTab" text = "1" [node name="Button3" type="Button" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/VBoxContainer"] layout_mode = 2 theme_type_variation = &"SideTab" text = "2" [node name="Button4" type="Button" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/VBoxContainer"] layout_mode = 2 theme_type_variation = &"SideTab" text = "3" [node name="TabContainer" type="TabContainer" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService"] layout_mode = 2 size_flags_horizontal = 3 tabs_visible = false [node name="新的Label" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/TabContainer"] layout_mode = 2 text = "View 0" [node name="Label2" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/TabContainer"] visible = false layout_mode = 2 text = "View 1" [node name="Label3" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/TabContainer"] visible = false layout_mode = 2 text = "View 2" [node name="Label4" type="Label" parent="Scroll/HBoxContainer/VBoxContainer3/UXTabService/TabContainer"] visible = false layout_mode = 2 text = "View 3"