fix: 判官复验四修——①styled_slider 槽轨实高(HSlider 槽=按 stylebox min 高绘制,零 margin=0-2px 不可见实测;12px 实高+深棕填充+描边)②三选一卡类型脚注行(demo .src 同位五族词——卡下半空底修)③地图顶栏对齐 demo(关卡名入框板+GP 烛光胶囊+左右两极,裸文本/居中悬置退役)④审计探针标题屏种子断点(有档态=继续上局主钮亮出对齐⑤;开始冒险前收种子避清档确认断流)——冒烟782/0+probe_gate --click全绿+ui_audit_probe 问题=0

This commit is contained in:
DKChan committed 2026-10-06 07:55:15 +08:00
1 parent 2ca628840a
commit 56e1ae3b45
4 files changed
+51 -10

No files matched your search

+15 -5
View File
@@ -87,20 +87,30 @@ func _init() -> void:
var box := VBoxContainer.new()
box.add_theme_constant_override("separation", 10)
center.add_child(box)
# 顶栏语境(spec Layout:左关卡名 / 右 GP 常驻徽章——直角细线数据框)
# 顶栏语境(spec Layout:左关卡名 / 右 GP 常驻徽章——直角细线数据框;
# T5 判官 checkpoint 对齐 demo ④:关卡名入框板(裸文本退役)+GP 徽章=烛光胶囊(同商店金币框)+
# 左右两极排布(原居中悬置))
var top := HBoxContainer.new()
top.add_theme_constant_override("separation", 12)
top.size_flags_horizontal = Control.SIZE_EXPAND_FILL
box.add_child(top)
var lvl_plate := PanelContainer.new()
lvl_plate.add_theme_stylebox_override("panel",
UiKit.panel_flat(UiKit.DARK_UPCOMING, UiKit.PANEL_BORDER, 0, 1, Vector4(12, 3, 12, 3)))
top.add_child(lvl_plate)
_level_label = UiKit.label("",UiKit.FS_BODY, true, UiKit.WARM)
_level_label.custom_minimum_size.x = 420
top.add_child(_level_label)
lvl_plate.add_child(_level_label)
var top_sp := Control.new()
top_sp.size_flags_horizontal = Control.SIZE_EXPAND_FILL
top.add_child(top_sp)
var gp_box := PanelContainer.new()
gp_box.add_theme_stylebox_override("panel", UiKit.panel_flat(UiKit.DARK_UPCOMING, UiKit.PANEL_BORDER, 0, 1))
gp_box.add_theme_stylebox_override("panel",
UiKit.panel_flat(UiKit.CANDLE, UiKit.CAMP_HEADER_BAND,UiKit.RADIUS_OBJECT, 1, Vector4(12, 4, 12, 4)))
top.add_child(gp_box)
var gp_row := HBoxContainer.new()
gp_row.add_theme_constant_override("separation", 6)
gp_box.add_child(gp_row)
_gp_value = UiKit.label("",UiKit.FS_BODY, true, UiKit.GOLD)
_gp_value = UiKit.label("",UiKit.FS_BODY, true, UiKit.INK_ON_GOLD)
gp_row.add_child(_gp_value)
_title = UiKit.label(TITLE_FORK,UiKit.FS_SUB, true, UiKit.WARM)
_title.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER