Skip to content

Big Picture: a game's buttons go on to a second line when they don't fit - #471

Merged
1 commit merged into
elripalda:mainfrom
AngeloAscheri:tv-acts-wrap
Nov 25, 2026
Merged

1 commit merged into
elripalda:mainfrom
AngeloAscheri:tv-acts-wrap

Conversation

@AngeloAscheri

@AngeloAscheri AngeloAscheri commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

An installed game's page in Big Picture can have up to eight buttons in one row (Play, Setup Required, Follow, Versions, Screenshots, Game settings, Mods, Options). The row never wrapped and nothing scrolls it sideways, so on many screens the last buttons ran on under the Ready to Play panel beside it, out of sight (seen at 1440p with Donkey Kong Bananza installed: Game settings and Options sat behind the panel).

What changed

  • ui/tv.css: .tv-acts wraps, so buttons that don't fit go on to a second line. In move() left and right still go along the buttons in order, and up and down reach the other line with the usual nearest-button rule.
  • tests/tv-dialogs.test.cjs: a test for it.

Testing

  • node --test tests/*.test.cjs passes.
  • On Bazzite (KDE Wayland, RX 6700 XT, 1440p), Big Picture, Donkey Kong Bananza installed: the buttons that sat behind the Ready to Play panel now go on to a second line, and the d-pad reaches them all.

🤖 Generated with Claude Code

An installed game's page can have up to eight buttons in a row (Play, Setup Required, Follow,
Versions, Screenshots, Game settings, Mods, Options). The row never wrapped, so on many screens
the last ones ran on under the Ready to Play panel beside it, hidden behind it.

The row wraps now. Left and right still go along the buttons in order, and up and down reach
the other line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@Xarishark Xarishark left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All notes resolved and CI passed. Approving.

@elripalda elripalda closed this pull request by merging all changes into elripalda:main in abc8748 Nov 25, 2026
@AngeloAscheri
AngeloAscheri deleted the tv-acts-wrap branch November 25, 2026 21:24
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.

3 participants