From 362dd9e2b90adb86b112dae0099fc2f9213920fd Mon Sep 17 00:00:00 2001 From: Lugiad <2070109+Adri1@users.noreply.github.com> Date: Mon, 14 Jul 2025 02:59:51 +0200 Subject: [PATCH] [UI/UX] `HEADER_LABEL` TextStyle Fix (#6089) --- src/ui/text.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/ui/text.ts b/src/ui/text.ts index c276997b9c0..9b106869982 100644 --- a/src/ui/text.ts +++ b/src/ui/text.ts @@ -319,10 +319,14 @@ export function getTextStyleOptions( case TextStyle.MESSAGE: styleOptions.fontSize = defaultFontSize; break; - case TextStyle.HEADER_LABEL: - styleOptions.fontSize = defaultFontSize; - styleOptions.padding = { top: 6 }; + case TextStyle.HEADER_LABEL: { + switch (lang) { + case "ja": + styleOptions.padding = { top: 6 }; + break; + } break; + } case TextStyle.SETTINGS_VALUE: case TextStyle.SETTINGS_LABEL: { shadowXpos = 3;