重构管理界面为通用标签面板
- 移除 DisciplePanel,改用可复用的 ManagerPanel 占位标签(×4) - 新增 InventoryPanel 并接入管理页第 5 个标签 - 新增炼丹、外务、订单等子面板占位场景与资源样式 - 样式资源重命名:disciple_info_* 改为 manager_info_*
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
[gd_scene format=3 uid="uid://6ui4v8yhobr4"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://kxc0y8146vlk" path="res://resources/manager_info_style_box_flat.tres" id="1_87463"]
|
||||
[ext_resource type="LabelSettings" uid="uid://dur4uye3m0ffd" path="res://resources/manager_info_label_settings.tres" id="2_sotk8"]
|
||||
|
||||
[node name="OrderPanel" type="Control" unique_id=1777280890]
|
||||
custom_minimum_size = Vector2(180, 240)
|
||||
custom_maximum_size = Vector2(180, 240)
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="." unique_id=1940446491]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = ExtResource("1_87463")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer" unique_id=1857403555]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer" unique_id=174596326]
|
||||
layout_mode = 2
|
||||
label_settings = ExtResource("2_sotk8")
|
||||
|
||||
[node name="Reward" type="Label" parent="PanelContainer/VBoxContainer" unique_id=835372898]
|
||||
layout_mode = 2
|
||||
label_settings = ExtResource("2_sotk8")
|
||||
Reference in New Issue
Block a user