Files
DungeonCrawlerWorld/scenes/ui/InventoryPanel.tscn

84 lines
2.5 KiB
Plaintext

[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://scripts/presentation/inventory_panel.gd" id="1_inventory"]
[sub_resource type="StyleBoxFlat" id="StyleBox_inventory_panel"]
bg_color = Color(0.035, 0.055, 0.09, 0.97)
border_width_left = 3
border_width_top = 3
border_width_right = 3
border_width_bottom = 3
border_color = Color(0.82, 0.66, 0.25, 0.95)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
content_margin_left = 24.0
content_margin_top = 18.0
content_margin_right = 24.0
content_margin_bottom = 18.0
[node name="InventoryPanel" type="PanelContainer"]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -400.0
offset_top = -260.0
offset_right = 400.0
offset_bottom = 260.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBox_inventory_panel")
script = ExtResource("1_inventory")
[node name="Layout" type="VBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 12
[node name="Title" type="Label" parent="Layout"]
custom_minimum_size = Vector2(0, 34)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.9, 0.5, 1)
theme_override_font_sizes/font_size = 24
text = "INVENTAIRE"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Columns" type="HBoxContainer" parent="Layout"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 20
[node name="Entries" type="RichTextLabel" parent="Layout/Columns"]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_colors/default_color = Color(0.92, 0.95, 1, 1)
theme_override_font_sizes/normal_font_size = 18
scroll_active = true
scroll_following = false
[node name="Details" type="RichTextLabel" parent="Layout/Columns"]
custom_minimum_size = Vector2(400, 0)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_colors/default_color = Color(0.92, 0.95, 1, 1)
theme_override_font_sizes/normal_font_size = 17
scroll_active = true
scroll_following = false
[node name="Footer" type="Label" parent="Layout"]
custom_minimum_size = Vector2(0, 28)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.9, 0.5, 1)
theme_override_font_sizes/font_size = 16
text = "↑/↓ Sélectionner E Équiper U Utiliser D Jeter I Fermer"
horizontal_alignment = 1
vertical_alignment = 1