Files
RuinAdventurer/Prefabs/Crafting/ItemDisplay.tscn
T

41 lines
1.2 KiB
Plaintext

[gd_scene format=3 uid="uid://4by1t1x6m4yt"]
[ext_resource type="Script" uid="uid://qdjn5oqn6p5d" path="res://Scripts/UI/Inventory/ItemDisplay.cs" id="1_if7q5"]
[node name="Item" type="PanelContainer" unique_id=247502695 node_paths=PackedStringArray("texture", "text", "amount")]
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_bottom = 31.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_if7q5")
texture = NodePath("HBoxContainer/TextureRect")
text = NodePath("HBoxContainer/ID")
amount = NodePath("HBoxContainer/Amount")
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=906487472]
layout_mode = 2
theme_override_constants/separation = 20
alignment = 1
[node name="TextureRect" type="TextureRect" parent="HBoxContainer" unique_id=1795632837]
layout_mode = 2
[node name="ID" type="RichTextLabel" parent="HBoxContainer" unique_id=46246913]
layout_mode = 2
text = "Robot #1"
fit_content = true
autowrap_mode = 0
horizontal_alignment = 1
vertical_alignment = 1
[node name="Amount" type="RichTextLabel" parent="HBoxContainer" unique_id=1705181895]
layout_mode = 2
text = "Robot #1"
fit_content = true
autowrap_mode = 0
horizontal_alignment = 1
vertical_alignment = 1