[gd_scene load_steps=3 format=3 uid="uid://boueuk2hnfvg"] [ext_resource type="Script" uid="uid://cknl6i0jce5jr" path="res://scenes/ui/inventory/item_rect.gd" id="1_oderi"] [sub_resource type="LabelSettings" id="LabelSettings_oderi"] outline_size = 3 outline_color = Color(0, 0, 0, 1) [node name="ItemRect" type="Panel" node_paths=PackedStringArray("amount_label", "item_texture")] custom_minimum_size = Vector2(72, 72) offset_right = 64.0 offset_bottom = 64.0 script = ExtResource("1_oderi") amount_label = NodePath("AmountLabel") item_texture = NodePath("TextureButton") metadata/_edit_use_anchors_ = true [node name="TextureButton" type="TextureButton" parent="."] texture_filter = 1 custom_minimum_size = Vector2(64, 64) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -32.0 offset_top = -32.0 offset_right = 32.0 offset_bottom = 32.0 grow_horizontal = 2 grow_vertical = 2 ignore_texture_size = true stretch_mode = 4 [node name="AmountLabel" type="Label" parent="."] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -40.0 offset_top = -23.0 offset_right = -3.0 grow_horizontal = 0 grow_vertical = 0 text = "x100" label_settings = SubResource("LabelSettings_oderi")