fix(m52): align header text with plaque opening
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user