khanat-client/scenes/interfaces/inventory_window/item_box.tscn
2020-04-01 21:02:49 +02:00

37 lines
997 B
Text

[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/interfaces/unknow_icon.png" type="Texture" id=1]
[ext_resource path="res://scenes/interfaces/inventory_window/item_box.gd" type="Script" id=2]
[node name="item_box" type="MarginContainer"]
margin_right = 32.0
margin_bottom = 32.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="icon" type="TextureRect" parent="."]
margin_right = 32.0
margin_bottom = 32.0
texture = ExtResource( 1 )
[node name="label" type="Label" parent="."]
margin_right = 32.0
margin_bottom = 14.0
size_flags_vertical = 0
text = "name"
clip_text = true
[node name="number" type="Label" parent="."]
margin_top = 18.0
margin_right = 32.0
margin_bottom = 32.0
size_flags_horizontal = 9
size_flags_vertical = 8
text = "99"
align = 2
valign = 2
clip_text = true
[connection signal="gui_input" from="icon" to="." method="_on_icon_gui_input"]
[connection signal="mouse_entered" from="icon" to="." method="_on_icon_mouse_entered"]