Skip to content

feat: add grid layout support for horizontal popups#809

Open
parkerha1 wants to merge 1 commit intoFelixKratz:masterfrom
parkerha1:feat/popup-grid-layout
Open

feat: add grid layout support for horizontal popups#809
parkerha1 wants to merge 1 commit intoFelixKratz:masterfrom
parkerha1:feat/popup-grid-layout

Conversation

@parkerha1
Copy link
Copy Markdown

Add row-based layout primitives for horizontal popups, enabling multi-row grids with uniform cell sizing and auto-wrapping.

New popup properties:

  • popup.columns=N: auto-wrap items into rows of N columns
  • popup.cell_width=N: uniform width for all grid cells
  • popup.cell_padding=N: gap between cells (horizontal and vertical)
  • popup.fill_row=on: stretch items in shorter rows to fill popup width

New item property:

  • line_break=on: force a row break before this item, allowing rows with different column counts in the same popup

All properties default to off/0 — existing configs are unaffected. When popup.horizontal=on is used without any new properties, behavior is identical to before.

Closes #648

Add row-based layout primitives for horizontal popups, enabling
multi-row grids with uniform cell sizing and auto-wrapping.

New popup properties:
- popup.columns=N: auto-wrap items into rows of N columns
- popup.cell_width=N: uniform width for all grid cells
- popup.cell_padding=N: gap between cells (horizontal and vertical)
- popup.fill_row=on: stretch items in shorter rows to fill popup width

New item property:
- line_break=on: force a row break before this item, allowing rows
  with different column counts in the same popup

All properties default to off/0 — existing configs are unaffected.
When popup.horizontal=on is used without any new properties, behavior
is identical to before.

Closes FelixKratz#648

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Support for Popups with Multiple Brackets in Vertical and Horizontal Layouts

1 participant