Files
mod_characters_base/scenes/ui/character_panel.tscn
T
2026-10-18 12:41:37 +03:00

164 lines
4.5 KiB
Plaintext

[gd_scene format=3]
[ext_resource type="Script" path="res://mods/characters_base/src/UI/CharacterPanel/CharacterPanelBehaviour.cs" id="1_script"]
[node name="CharacterPanel" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
script = ExtResource("1_script")
[node name="Backdrop" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 40.0
offset_top = 70.0
offset_right = -40.0
offset_bottom = -30.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
[node name="Margin" type="MarginContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 24
theme_override_constants/margin_top = 14
theme_override_constants/margin_right = 24
theme_override_constants/margin_bottom = 14
mouse_filter = 1
[node name="Root" type="VBoxContainer" parent="Panel/Margin"]
layout_mode = 2
theme_override_constants/separation = 10
mouse_filter = 1
[node name="Header" type="HBoxContainer" parent="Panel/Margin/Root"]
layout_mode = 2
theme_override_constants/separation = 18
mouse_filter = 2
[node name="Title" type="Label" parent="Panel/Margin/Root/Header"]
layout_mode = 2
theme_override_font_sizes/font_size = 22
[node name="Legend" type="HFlowContainer" parent="Panel/Margin/Root/Header"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/h_separation = 5
theme_override_constants/v_separation = 4
mouse_filter = 2
[node name="DragHint" type="Label" parent="Panel/Margin/Root/Header"]
layout_mode = 2
theme_override_font_sizes/font_size = 11
[node name="CloseButton" type="Button" parent="Panel/Margin/Root/Header"]
custom_minimum_size = Vector2(38, 38)
layout_mode = 2
focus_mode = 0
text = "✕"
[node name="Rule1" type="Panel" parent="Panel/Margin/Root"]
custom_minimum_size = Vector2(0, 1)
layout_mode = 2
mouse_filter = 2
[node name="Body" type="HBoxContainer" parent="Panel/Margin/Root"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 14
mouse_filter = 0
[node name="Left" type="VBoxContainer" parent="Panel/Margin/Root/Body"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 8
mouse_filter = 0
[node name="TitleRow" type="HBoxContainer" parent="Panel/Margin/Root/Body/Left"]
layout_mode = 2
theme_override_constants/separation = 8
mouse_filter = 2
[node name="PartyTitle" type="Label" parent="Panel/Margin/Root/Body/Left/TitleRow"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
[node name="PartyCount" type="Label" parent="Panel/Margin/Root/Body/Left/TitleRow"]
layout_mode = 2
theme_override_font_sizes/font_size = 11
[node name="TitleSpacer" type="Control" parent="Panel/Margin/Root/Body/Left/TitleRow"]
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
[node name="PartySub" type="Label" parent="Panel/Margin/Root/Body/Left/TitleRow"]
layout_mode = 2
theme_override_font_sizes/font_size = 11
[node name="Scroll" type="ScrollContainer" parent="Panel/Margin/Root/Body/Left"]
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 0
[node name="CharactersContainer" type="HFlowContainer" parent="Panel/Margin/Root/Body/Left/Scroll"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/h_separation = 14
theme_override_constants/v_separation = 14
mouse_filter = 0
[node name="Right" type="PanelContainer" parent="Panel/Margin/Root/Body"]
custom_minimum_size = Vector2(420, 0)
layout_mode = 2
[node name="ActionPool" type="Control" parent="Panel/Margin/Root/Body/Right"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 0
[node name="Rule2" type="Panel" parent="Panel/Margin/Root"]
custom_minimum_size = Vector2(0, 1)
layout_mode = 2
mouse_filter = 2
[node name="Footer" type="HBoxContainer" parent="Panel/Margin/Root"]
layout_mode = 2
theme_override_constants/separation = 10
mouse_filter = 2
[node name="StatusLabel" type="Label" parent="Panel/Margin/Root/Footer"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
[node name="FooterSpacer" type="Control" parent="Panel/Margin/Root/Footer"]
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
[node name="ResetButton" type="Button" parent="Panel/Margin/Root/Footer"]
layout_mode = 2
focus_mode = 0