From d286d8c0f01acf80a26cd8e8095fb35ad9f69494 Mon Sep 17 00:00:00 2001 From: wusumac <736139669@qq.com> Date: Thu, 10 Sep 2026 01:53:38 +0800 Subject: [PATCH] fix(m52): align header text with plaque opening --- docs/plans/M52_CHIBI_HAND_DRAWN_MOBILE_DIRECTION.md | 7 +++++++ runtime/ui/m52/market_header.gd | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/plans/M52_CHIBI_HAND_DRAWN_MOBILE_DIRECTION.md b/docs/plans/M52_CHIBI_HAND_DRAWN_MOBILE_DIRECTION.md index 95f1a176..530b88ad 100644 --- a/docs/plans/M52_CHIBI_HAND_DRAWN_MOBILE_DIRECTION.md +++ b/docs/plans/M52_CHIBI_HAND_DRAWN_MOBILE_DIRECTION.md @@ -264,6 +264,13 @@ commands now live in `ABGM52FooterNav` with independent clipped labels, 48px hit areas and semantic back/return signals. Market View only binds those signals to its existing intents; no routing or command semantics changed. +Runtime preview correction (working tree, 2026-09-10): local GUI captures at +760×360, 844×390 and 1280×720 exposed that the original NinePatch margins were +too large for the phone-landscape target, making chrome disappear. Margins +were reduced to a safe minimum and the header title/subtitle slots were moved +below the generated crest. A fresh 844×390 preview is now attached in the +review thread; this remains an agent-inspected preview, not owner acceptance. + ### M52-C — Complete one playable loop and owner tryout - Extend the same visual language through Recruit Review, Party, Battle and diff --git a/runtime/ui/m52/market_header.gd b/runtime/ui/m52/market_header.gd index 7dcc5083..a59de102 100644 --- a/runtime/ui/m52/market_header.gd +++ b/runtime/ui/m52/market_header.gd @@ -47,7 +47,9 @@ func _ready() -> void: title.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT) title.offset_left = 8.0 title.offset_right = -8.0 - _place(title, Rect2(0.14, 0.10, 0.72, 0.38)) + # The generated plaque has a transparent crest above its parchment opening; + # keep the title below that crest so it never sits on the top rail. + _place(title, Rect2(0.14, 0.28, 0.72, 0.27)) title.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER title.vertical_alignment = VERTICAL_ALIGNMENT_CENTER title.clip_text = true @@ -60,7 +62,7 @@ func _ready() -> void: var subtitle := UIFactory.label(subtitle_text, "micro", 1.0, MarketChrome.INK_SOFT) subtitle.name = "M50MarketStage" subtitle.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT) - _place(subtitle, Rect2(0.18, 0.52, 0.64, 0.24)) + _place(subtitle, Rect2(0.18, 0.58, 0.64, 0.18)) subtitle.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER subtitle.vertical_alignment = VERTICAL_ALIGNMENT_CENTER subtitle.clip_text = true