challenge-editor/scene/warehouse_tab.tscn
2024-10-10 18:09:32 +08:00

56 lines
1.9 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://crrqs1woslql2"]
[ext_resource type="Texture2D" uid="uid://en8cdckjc6lk" path="res://res/ui/ui_016_warehouse/juxing21.png" id="1_vlsrg"]
[ext_resource type="Texture2D" uid="uid://cb6fxlk3a38b6" path="res://res/ui/ui_016_warehouse/juxing22.png" id="2_dmltj"]
[ext_resource type="Script" path="res://scene/warehouse_tab.gd" id="2_ew5ng"]
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="2_kw7l8"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_i80v0"]
texture = ExtResource("1_vlsrg")
[node name="warehouse_tab" type="PanelContainer"]
custom_minimum_size = Vector2(237, 67)
offset_right = 237.0
offset_bottom = 69.0
theme_override_styles/panel = SubResource("StyleBoxTexture_i80v0")
script = ExtResource("2_ew5ng")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 0
[node name="text" type="Label" parent="HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 50
text = "类别"
horizontal_alignment = 1
vertical_alignment = 1
[node name="selected_texture" type="TextureRect" parent="HBoxContainer/text"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0215517
anchor_top = 0.0434783
anchor_right = 0.982759
anchor_bottom = 0.942029
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_dmltj")
expand_mode = 1
metadata/_edit_use_anchors_ = true
[node name="ColorRect" type="ColorRect" parent="HBoxContainer"]
custom_minimum_size = Vector2(5, 0)
layout_mode = 2
color = Color(0, 0, 0, 1)
[node name="ToolButton" parent="." instance=ExtResource("2_kw7l8")]
layout_mode = 2
[connection signal="pressed" from="ToolButton" to="." method="_on_tool_button_pressed"]