League table: show club names in full like the original
Prepare verified release / draft (push) Waiting to run

The name column was clipped at 78 pixels (about 17 characters). The real 3.7
shows 19 character names completely and the games column covers the overlap.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-11-09 20:28:44 +01:00
1 parent 748eb4df01
commit 1ddce1dcc8
2 files changed
+8 -1

No files matched your search

+4
View File
@@ -49,6 +49,10 @@ already did). Now pressed while held:
bottom row with status texts (rejections, hints). The original has no such line; the
club name now always stays there.
- **League table: club names in full.** Names were cut after about 17 characters
("EINTRACHT FRANKFU"); the original shows them completely ("EINTRACHT FRANKFURT",
"TSG 1899 HOFFENHEIM") and lets the games column cover what reaches into it.
## Internal
- The drawing of the wide push button, of the calculator window (panel and keys) and
+4 -1
View File
@@ -392,7 +392,10 @@ Image LeagueTableScreen::render() const {
text(image, 12, y, "(" + formatted_field(row.previous_rank, 2) +
original_text(exe_, ::bmh::layout::CupDraw_DrawGroupOverview_TextPointer3), previous_color, 24);
}
text(image, 30, y, row.name, row.name_color, 78);
// The original does not clip the name: 19 character names (BORUSSIA M'GLADBACH, TSG 1899 HOFFENHEIM) are
// shown in full and the games column, drawn afterwards at x=0x72, simply covers what reaches into it
// (checked against the real 3.7 table). 120 only guards against absurdly long names.
text(image, 30, y, row.name, row.name_color, 120);
const std::string matches = formatted_field(row.games, 2) + original_text(exe_, ::bmh::layout::CupDraw_DrawGroupOverview_TextPointer4) +
formatted_field(row.wins, 2) + original_text(exe_, ::bmh::layout::CupDraw_DrawGroupOverview_TextPointer5) +
formatted_field(row.draws, 2) + original_text(exe_, ::bmh::layout::CupDraw_DrawGroupOverview_TextPointer5) +