48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://c3bb0ljgv77r2"]
|
|
|
|
[ext_resource type="Script" path="res://UI/MenuBar/Inventory/ItemInventoryDisplay.gd" id="1_2pu85"]
|
|
[ext_resource type="Texture2D" uid="uid://ct5a5b2148uia" path="res://Items/Foods/Fruits/Sprites/Orange.png" id="2_sxoyk"]
|
|
|
|
[sub_resource type="Theme" id="Theme_tw8r0"]
|
|
|
|
[node name="ItemInventoryDisplay" type="PanelContainer"]
|
|
offset_right = 229.0
|
|
offset_bottom = 26.0
|
|
script = ExtResource("1_2pu85")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 3
|
|
theme_override_constants/margin_top = 2
|
|
theme_override_constants/margin_right = 5
|
|
theme_override_constants/margin_bottom = 2
|
|
|
|
[node name="ItemInventoryDisplay" type="HSplitContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ItemSprite" type="TextureRect" parent="MarginContainer/ItemInventoryDisplay"]
|
|
layout_mode = 2
|
|
theme = SubResource("Theme_tw8r0")
|
|
texture = ExtResource("2_sxoyk")
|
|
expand_mode = 2
|
|
|
|
[node name="HSplitContainer" type="HSplitContainer" parent="MarginContainer/ItemInventoryDisplay"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
dragger_visibility = 2
|
|
|
|
[node name="ItemName" type="Label" parent="MarginContainer/ItemInventoryDisplay/HSplitContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Orange"
|
|
vertical_alignment = 1
|
|
text_overrun_behavior = 4
|
|
|
|
[node name="Quantity" type="Label" parent="MarginContainer/ItemInventoryDisplay/HSplitContainer"]
|
|
layout_mode = 2
|
|
text = "Qt. 10"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 1
|
|
|
|
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
|