Skip to content

Feature: checkerboard rows option for the modern layout#187

Open
Shuro wants to merge 1 commit into
Infiziert90:mainfrom
Shuro:feature/checkerboard-rows
Open

Feature: checkerboard rows option for the modern layout#187
Shuro wants to merge 1 commit into
Infiziert90:mainfrom
Shuro:feature/checkerboard-rows

Conversation

@Shuro

@Shuro Shuro commented Jul 4, 2026

Copy link
Copy Markdown

Adds a "Checkerboard rows" sub-option under the prettier timestamps setting: every other message row gets a configurable background color, which makes rows easier to tell apart in busy chat.

Implementation is small on purpose: when enabled, the timestamp table gets ImGuiTableFlags.RowBg and the two row colors are pushed around it (TableRowBg transparent, TableRowBgAlt = the configured color). One stripe per message, so wrapped multi-line messages stay on a single stripe.

Default alternate row background is white at ~4%.

Settings UI mirrors the existing "More compact modern layout" sub-option, English strings added to the resx. No config migration needed.

Tested in game:

  • toggling live
  • per-message striping with wrapped messages
  • alpha on a translucent window

Disclosure:
This was co-developed with AI assistance (Claude Code).
I've reviewed the code and tested it in game myself.

Preview Chat:
image

Preview Settings:
image

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