Repository navigation
Ribbon: RibbonGrid, a size picker (Table: columns by rows) - #504
Merged
Merged
Conversation
A control kind whose popup is a GridCols x GridRows grid of cells (8 x 6 by default, at most 16 x 16): the pointer, or the arrow keys, light the cells from the corner to the one they are on, a caption under them says "3 x 2", and choosing a cell (click, Enter) calls OnGrid(cols, rows) and closes the popup. Home/End jump to the first and the last cell, Escape closes. Drawn in both themes (accent fill and edge on the lit cells), reported to assistive technology as a button that is expanded while the grid is open, disabled with its Action. The popup machinery is the ribbon's own (popupGeometry, popupClick, popupKey), so a grid is positioned, hovered, clicked and keyed like a gallery. 100% statement coverage; README updated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
RibbonGridto the Ribbon: a control whose popup is a grid of cells to size something by (a table), as the Table button of a word processor does.GridColsxGridRows(8 x 6 by default, at most 16 x 16),OnGrid(cols, rows).expanded/collapsedfor assistive technology, disabled with its Action; it reuses the ribbon's popup geometry, hover, click and key routing.ghrelease.🤖 Generated with Claude Code