[gd_scene format=3] [ext_resource type="Script" path="res://quiz/players_panel.gd" id="part_script"] [ext_resource type="Texture2D" uid="uid://bcfmpd7h512ef" path="res://icons/person_add_light.svg" id="5_31tjv"] [sub_resource type="InputEventKey" id="InputEventKey_03bm3"] device = -1 alt_pressed = true keycode = 65 unicode = 63743 [sub_resource type="Shortcut" id="Shortcut_jafqj"] events = [SubResource("InputEventKey_03bm3")] [node name="PlayersPanel" type="PanelContainer" unique_id=1708375945] layout_mode = 3 offset_right = 641.0 offset_bottom = 401.0 theme_type_variation = &"PlayerList" script = ExtResource("part_script") [node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=270084211] layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=513047023] custom_minimum_size = Vector2(2.08165e-12, 40) layout_mode = 2 [node name="HeaderBalance" type="Control" parent="VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(36, 0) layout_mode = 2 mouse_filter = 2 [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer" unique_id=1331357386] custom_minimum_size = Vector2(0, 40) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 theme_type_variation = &"TextLarge" text = "Players" horizontal_alignment = 1 vertical_alignment = 1 [node name="AddPlayersButton" type="TextureButton" parent="VBoxContainer/HBoxContainer" unique_id=634410148] unique_name_in_owner = true custom_minimum_size = Vector2(36, 36) layout_mode = 2 size_flags_horizontal = 8 size_flags_vertical = 4 tooltip_text = "Add or remove players (Alt+A)" focus_mode = 0 action_mode = 0 shortcut = SubResource("Shortcut_jafqj") texture_normal = ExtResource("5_31tjv") ignore_texture_size = true stretch_mode = 5 [node name="AddPlayerContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=1371948739] unique_name_in_owner = true visible = false custom_minimum_size = Vector2(0, 36) layout_mode = 2 theme_override_constants/separation = 8 alignment = 1 [node name="PlayerNameField" type="LineEdit" parent="VBoxContainer/AddPlayerContainer" unique_id=332535327] unique_name_in_owner = true custom_minimum_size = Vector2(220, 0) layout_mode = 2 placeholder_text = "Player name" max_length = 10 [node name="AddPlayerButton" type="Button" parent="VBoxContainer/AddPlayerContainer" unique_id=245001313] unique_name_in_owner = true layout_mode = 2 focus_mode = 0 text = "Add" [node name="AddPlayerHint" type="Label" parent="VBoxContainer/AddPlayerContainer"] unique_name_in_owner = true visible = false layout_mode = 2 theme_type_variation = &"HighlightMedium" text = "Up to 7 players" vertical_alignment = 1 [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer" unique_id=1000000001] layout_mode = 2 size_flags_vertical = 15 horizontal_scroll_mode = 0 [node name="PlayersListVBoxContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer" unique_id=1000000002] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 2 size_flags_horizontal = 3 size_flags_vertical = 15