otherworldly_simulation/scene/trader_board/trade_item_card.tscn

100 lines
2.9 KiB
Plaintext
Raw Normal View History

2024-11-01 23:23:07 +08:00
[gd_scene load_steps=7 format=3 uid="uid://d0hg61m4hdwmy"]
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool_button/tool_button.tscn" id="1_25x5k"]
[ext_resource type="Script" path="res://scene/trader_board/trade_item_card.gd" id="1_mghgm"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_g7xwf"]
bg_color = Color(0.252028, 0.252028, 0.252028, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="LabelSettings" id="LabelSettings_42akb"]
font_size = 30
[sub_resource type="LabelSettings" id="LabelSettings_4efih"]
font_size = 20
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bgbyt"]
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[node name="TradeItemCard" type="MarginContainer"]
custom_minimum_size = Vector2(250, 0)
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 250.0
grow_vertical = 2
script = ExtResource("1_mghgm")
[node name="Panel" type="Panel" parent="."]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_g7xwf")
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10
[node name="VB" type="VBoxContainer" parent="Panel/MarginContainer"]
layout_mode = 2
[node name="name" type="Label" parent="Panel/MarginContainer/VB"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
text = "物品名字"
label_settings = SubResource("LabelSettings_42akb")
vertical_alignment = 1
[node name="introduction" type="Label" parent="Panel/MarginContainer/VB"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "物品介绍"
label_settings = SubResource("LabelSettings_4efih")
autowrap_mode = 3
[node name="num" type="Label" parent="Panel/MarginContainer/VB"]
unique_name_in_owner = true
layout_mode = 2
text = "数量"
vertical_alignment = 1
[node name="price" type="Label" parent="Panel/MarginContainer/VB"]
unique_name_in_owner = true
layout_mode = 2
text = "价格"
vertical_alignment = 1
[node name="Panel" type="Panel" parent="Panel/MarginContainer/VB"]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_bgbyt")
[node name="Label" type="Label" parent="Panel/MarginContainer/VB/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "购买"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ToolButton" parent="Panel/MarginContainer/VB/Panel" instance=ExtResource("1_25x5k")]
layout_mode = 1