Skip to content

fix: drop the tab menu a step, to 40 - #652

Merged
TheSevenPens merged 1 commit into
masterfrom
fix/tab-menu-size
Sep 2, 2026
Merged

fix: drop the tab menu a step, to 40#652
TheSevenPens merged 1 commit into
masterfrom
fix/tab-menu-size

Conversation

@TheSevenPens

Copy link
Copy Markdown
Owner

Tab menu goes from 44 to 40 — the 10% asked for.

One decision worth surfacing

TypeDisplaySize (44) was shared by the pivot row and TextBlock.Display, which is Home'"'"'s needs attention / your tablets headings. Shrinking the token would have shrunk Home too, which was not the request — so the token is split instead:

TypeDisplaySize 44 section headings — unchanged
TypePivotSize 40 pivots — new

They remain the same layer conceptually and never appear together — a page has pivots or display headings, never both — so the step between them is never seen side by side. Worth keeping them within a step of each other; the comment in App.axaml says so.

If you would rather Home followed the tab menu down, that is a one-line change: point TextBlock.Display at TypePivotSize and drop the extra key.

Details

  • Tracking scales with the size, -1.4-1.3, so the pivots keep the same optical tightness instead of looking looser at the smaller size.
  • PivotTab sets its size twice — the visible run and the invisible width reserver that stops the row reflowing when the active item gains weight. Both moved together. Verified by clicking between pivots and confirming every word holds its exact x position; a mismatch here would have shifted the whole row on every click.
  • Verified live on tablet and settings; Home'"'"'s headings confirmed unchanged.

Build clean, 673/673.

🤖 Generated with Claude Code

The pivot row was 44, shared with TextBlock.Display. Splitting the token
rather than shrinking both: the request was for the tab menu, and
TypeDisplaySize also drives Home's section headings, which were not
asked to change.

  TypeDisplaySize  44  section headings (TextBlock.Display) — unchanged
  TypePivotSize    40  pivots (PivotTab) — new

They are still the same layer conceptually and never appear together
(a page has pivots OR display headings, never both), so the step between
them is never seen side by side. Worth keeping them within a step of
each other.

Tracking scales with the size, -1.4 -> -1.3, so the pivots keep the same
optical tightness rather than looking looser at the smaller size.

PivotTab sets its size TWICE — the visible run and the invisible width
reserver that stops the row reflowing when the active item gains weight.
Both moved together; verified by clicking between pivots and confirming
every word holds its exact x position.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@TheSevenPens
TheSevenPens merged commit 2c24fdd into master Sep 2, 2026
3 checks passed
@TheSevenPens
TheSevenPens deleted the fix/tab-menu-size branch September 2, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant