mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-03 01:41:53 +08:00
refactor(武器卡片): 统一描述文本的父节点路径并移除调试标记
将武器卡片描述文本的父节点路径统一调整为container/back/scroller,提升UI结构一致性 移除所有武器卡片中的debugRebuild标记,清理调试代码 优化NuclearBomb.tscn文件格式,修复节点引用路径
This commit is contained in:
@@ -34,6 +34,21 @@ corner_detail = 1
|
||||
font_size = 12
|
||||
font_color = Color(0.55, 0.55, 0.55, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jv1l6"]
|
||||
content_margin_left = 10.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color(0, 0, 0, 0.4)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(1, 1, 1, 1)
|
||||
corner_radius_top_left = 15
|
||||
corner_radius_bottom_right = 15
|
||||
corner_detail = 1
|
||||
|
||||
[node name="WeaponCard" type="PanelContainer" unique_id=2085048785]
|
||||
offset_right = 350.0
|
||||
offset_bottom = 304.0
|
||||
@@ -183,13 +198,17 @@ text = "无灵"
|
||||
label_settings = SubResource("LabelSettings_b3nsw")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="scroller" type="ScrollContainer" parent="container" unique_id=543588938]
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
[node name="back" type="PanelContainer" parent="container" unique_id=517412512]
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_jv1l6")
|
||||
|
||||
[node name="scroller" type="ScrollContainer" parent="container/back" unique_id=543588938]
|
||||
custom_minimum_size = Vector2(0, 200)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="description" type="RichTextLabel" parent="container/scroller" unique_id=566230682]
|
||||
[node name="description" type="RichTextLabel" parent="container/back/scroller" unique_id=566230682]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
Reference in New Issue
Block a user