Renamed ClosePanel to Clear. Added handle clear for the Clear button. Removed set_tab_names() as Godot now allows setting a tab child's title in the editor. Added hiding and showing of the SearchTwitchUser panel when selecting a user / clearing a user.
75 lines
3.1 KiB
Text
75 lines
3.1 KiB
Text
[gd_scene format=3 uid="uid://b7ubexvohw507"]
|
|
|
|
[ext_resource type="Script" uid="uid://ykgacitkm8qw" path="res://UI/Controls/users.gd" id="1_8sme5"]
|
|
[ext_resource type="PackedScene" uid="uid://cdm7rbq5547xp" path="res://UI/Controls/user_list.tscn" id="1_wmtpy"]
|
|
[ext_resource type="PackedScene" uid="uid://2ifvkmqd0q3i" path="res://UI/Controls/search_twitch_user.tscn" id="2_hl8i0"]
|
|
[ext_resource type="PackedScene" uid="uid://d3fhwrt28r08x" path="res://UI/Controls/internal_twitch_user_info.tscn" id="4_jqw2j"]
|
|
[ext_resource type="PackedScene" uid="uid://bipoye4ww4ua6" path="res://UI/Controls/internal_user_live.tscn" id="5_8sme5"]
|
|
[ext_resource type="Texture2D" uid="uid://4juherhkw8hp" path="res://addons/script_splitter/assets/Close.svg" id="6_oms12"]
|
|
|
|
[node name="Users" type="PanelContainer" unique_id=823449222]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_type_variation = &"TabPanel"
|
|
script = ExtResource("1_8sme5")
|
|
metadata/_tab_index = 1
|
|
|
|
[node name="HSplitContainer" type="HSplitContainer" parent="." unique_id=1436900852]
|
|
layout_mode = 2
|
|
split_offsets = PackedInt32Array(400)
|
|
split_offset = 400
|
|
|
|
[node name="UserList" parent="HSplitContainer" unique_id=1448466108 instance=ExtResource("1_wmtpy")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="UserManager" type="PanelContainer" parent="HSplitContainer" unique_id=1405139410]
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HSplitContainer/UserManager" unique_id=558998019]
|
|
layout_mode = 2
|
|
|
|
[node name="SearchTwitchUser" parent="HSplitContainer/UserManager/VBoxContainer" unique_id=83637811 instance=ExtResource("2_hl8i0")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_type_variation = &"TabPanel"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="HSplitContainer/UserManager/VBoxContainer" unique_id=195418375]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="HSplitContainer/UserManager/VBoxContainer" unique_id=408900267]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_right = 10
|
|
|
|
[node name="Tabs" type="TabContainer" parent="HSplitContainer/UserManager/VBoxContainer/MarginContainer" unique_id=140135258]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 300)
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
current_tab = 0
|
|
tab_0/title = "Twitch User Info"
|
|
tab_1/title = "User Live"
|
|
|
|
[node name="InternalTwitchUserInfo" parent="HSplitContainer/UserManager/VBoxContainer/MarginContainer/Tabs" unique_id=1986869556 instance=ExtResource("4_jqw2j")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_type_variation = &""
|
|
metadata/_tab_name = "Twitch User Info"
|
|
|
|
[node name="InternalUserLive" parent="HSplitContainer/UserManager/VBoxContainer/MarginContainer/Tabs" unique_id=17956466 instance=ExtResource("5_8sme5")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_name = "User Live"
|
|
|
|
[node name="Clear" type="Button" parent="HSplitContainer/UserManager/VBoxContainer/MarginContainer" unique_id=624044174]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 0
|
|
icon = ExtResource("6_oms12")
|