Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ as the release notes.

## [Unreleased]

### Fixed

- The timeline header's button hints are drawn smaller, so "START Exit" no longer runs into the post counter on the top screen (seen in Azahar). The layout's character-width estimate is too narrow for the system font; this is the minimum change, not a font change. ([#71](https://github.com/ewanc26/indigo/pull/71))

## [0.12.0] - 2026-10-07

What has and has not been run, plainly: the host tests pass (4035 checks), the warnings sweep is clean, and the 3DS build links against Wolfram v0.37.0. The video poster has not been seen on a 3DS or in Azahar; the snapshot harness renders it with a stand-in font, so the widths there are approximate.
Expand Down
8 changes: 6 additions & 2 deletions src/ui/layout_post.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,11 @@ indigo_layout_build_top_post(const indigo_app *app, indigo_canvas *c)
: app->feed_uri[0] ? "B Feeds SEL Reload"
: "B Menu SEL Reload START Exit";
float hint_x = 18.0f + (float) strlen(title) * INDIGO_CHAR_WIDTH * 0.8f + 12.0f;
float hint_end = 326.0f - (float) strlen(hint) * INDIGO_CHAR_WIDTH * 0.5f;
/* The hint is drawn at HINT_SCALE, and its end is kept clear of the counter
* at x=330. Measured in Azahar, the hint runs about 8 px a character at 0.5,
* wider than the layout's estimate, so the hint is drawn smaller to keep it
* clear of the counter. */
float hint_end = 326.0f - (float) strlen(hint) * INDIGO_CHAR_WIDTH * 0.45f;
unsigned units;

if (hint_x < 116.0f) {
Expand All @@ -294,7 +298,7 @@ indigo_layout_build_top_post(const indigo_app *app, indigo_canvas *c)
indigo_canvas_text(c, hint_x, 12, 0.5f, t->status_is_error ? COL_ERROR : COL_TEXT_DIM,
"%.60s", t->status);
} else {
indigo_canvas_text(c, hint_x, 12, 0.5f, COL_TEXT_DIM, "%s", hint);
indigo_canvas_text(c, hint_x, 12, 0.45f, COL_TEXT_DIM, "%s", hint);
}
if (p) {
indigo_canvas_text(c, 330, 12, 0.6f, COL_TEXT_DIM, "%u / %u%s", t->selected + 1,
Expand Down
Loading