-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpanel.tscn
45 lines (37 loc) · 1.42 KB
/
panel.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[gd_scene load_steps=3 format=3 uid="uid://cv5kikv2v1anj"]
[ext_resource type="Script" path="res://panel.gd" id="1_4umdq"]
[ext_resource type="Texture2D" uid="uid://dwna6atgkbg4f" path="res://inventorySlot.png" id="1_bthdt"]
[node name="Panel" type="Button"]
custom_minimum_size = Vector2(20, 20)
anchors_preset = -1
anchor_right = 0.018
anchor_bottom = 0.032
offset_right = -0.736002
offset_bottom = -0.736
script = ExtResource("1_4umdq")
[node name="background" type="Sprite2D" parent="."]
texture = ExtResource("1_bthdt")
centered = false
[node name="CenterContainer" type="CenterContainer" parent="."]
custom_minimum_size = Vector2(20, 20)
layout_mode = 0
offset_right = 20.0
offset_bottom = 20.0
[node name="Panel2" type="Panel" parent="CenterContainer"]
layout_mode = 2
[node name="item" type="Sprite2D" parent="CenterContainer/Panel2"]
position = Vector2(-2.38419e-07, -3.8743e-07)
scale = Vector2(0.146691, 0.103584)
[node name="itemLabel" type="Label" parent="CenterContainer/Panel2"]
custom_minimum_size = Vector2(11, 11)
layout_mode = 0
offset_left = -2.0
offset_top = 1.0
offset_right = 9.0
offset_bottom = 13.0
theme_override_colors/font_color = Color(1, 0.976471, 0.988235, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 8
horizontal_alignment = 2
[connection signal="pressed" from="." to="." method="_on_pressed"]