fix: T6/T7 实测两修——bcard 行容器纵向拉伸修(SHRINK_CENTER 恒 352 高居中,HBox fill 拉到 ~536 实测)+结算账行全角冒号不入值列(实机「:攻击 +1」缩进修);审计探针商店屏改投喂 pool 货架面(玩家正主形态=demo #v-shop 对比基线)+爬价行投喂——冒烟782/0+probe_gate --click全绿

This commit is contained in:
DKChan committed 2026-10-06 07:23:09 +08:00
1 parent 5e2fa8bb87
commit 463c5b178c
3 files changed
+14 -9

No files matched your search

@@ -188,16 +188,19 @@ func _ledger_value(size: int, col: Color, bold: bool) -> Label:
return UiKit.label("", size, bold, col)
# 拆名/值(组合根传入整串):gp_shape=固定名「战利品 GP」值取余串;其余行按「:」或「 · 」切;
# 无分隔符=整串入值列、名空
# 拆名/值(组合根传入整串):gp_shape=固定名「战利品 GP」值取余串;其余行按「:」或「 · 」切
#(全角冒号不入值列——T7 实机「:攻击 +1」缩进 Corrections);无分隔符=整串入值列、名空
func _set_ledger_row(name_l: Label, val_l: Label, s: String, gp_shape := false) -> void:
if gp_shape and s.begins_with("战利品 GP"):
name_l.text = "战利品 GP"
val_l.text = s.substr(6).strip_edges()
return
var sep := s.find(":")
if sep < 0:
sep = s.find(" · ")
if sep >= 0:
name_l.text = s.substr(0, sep)
val_l.text = s.substr(sep + 1).strip_edges()
return
sep = s.find(" · ")
if sep >= 0:
name_l.text = s.substr(0, sep)
val_l.text = s.substr(sep).strip_edges()
+1
View File
@@ -610,6 +610,7 @@ class BCard:
_sb_sel = UiKit.panel_flat(PANEL_DATA, Color8(138, 90, 52), RADIUS_OBJECT, 2, Vector4(12, 10, 12, 10)) # 选中底=数据板单点(P7 乙后同值)
add_theme_stylebox_override("panel", _sb_normal)
custom_minimum_size = Vector2(232, 352) # D1(UI 设计对齐批 T6 2026-10-06——demo .bcard 232×352;原 216×300)
size_flags_vertical = Control.SIZE_SHRINK_CENTER # 行容器不纵向拉伸(卡恒 352 高居中——T7 实测 HBox fill 拉到 ~536 修)
var box := VBoxContainer.new()
box.add_theme_constant_override("separation", 8)
add_child(box)