From 4524460d9c41170bc56261fbff442f1ad8cedaa7 Mon Sep 17 00:00:00 2001 From: trompetin17 Date: Wed, 4 Jun 2025 20:41:56 -0500 Subject: [PATCH] Increase text size for capture, health, and resource stats in GUI panels After FreeType integration in dfb4598186 font height and line spacing were incorrectly applied. That caused UI elements like capture, health, and resource stats to appear misaligned or invisible. Commit c2d529b975 standardized font height usage, removed lineSpace, and introduced GetCapHeight + Descender for better vertical alignment. However, affected texts used a font-stroke-12 with a GUI size of 12, which now renders lower in the container due to stroke and metric offset. Increasing the size to 14 ensures the text is properly visible and aligned. This adjusts for the actual space font-stroke-12 occupies in rendering. Fixes: #7962 --- .../selection_panels_middle/single_details_area.xml | 10 +++++----- .../mods/public/gui/session/top_panel/Counters.xml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/binaries/data/mods/public/gui/session/selection_panels_middle/single_details_area.xml b/binaries/data/mods/public/gui/session/selection_panels_middle/single_details_area.xml index ff55736a2a..e4d3e8f383 100644 --- a/binaries/data/mods/public/gui/session/selection_panels_middle/single_details_area.xml +++ b/binaries/data/mods/public/gui/session/selection_panels_middle/single_details_area.xml @@ -39,10 +39,10 @@ - + Capture points - + @@ -55,7 +55,7 @@ - + @@ -69,8 +69,8 @@ - - + + diff --git a/binaries/data/mods/public/gui/session/top_panel/Counters.xml b/binaries/data/mods/public/gui/session/top_panel/Counters.xml index e1062741c3..40902e2c0a 100644 --- a/binaries/data/mods/public/gui/session/top_panel/Counters.xml +++ b/binaries/data/mods/public/gui/session/top_panel/Counters.xml @@ -6,7 +6,7 @@ - +