Skip to content

feat: a wrapping flow layout #203

Closed

Description

@octalide

What

The stack layout (#87) has no wrapping row. Items that should flow onto further rows when the width runs out, such as a toolbar, a tag list or a HUD readout of label and value pairs, are laid out by hand. cellar's readout does this in hud.mach (octalide/cellar#165).

Acceptance

  • A flow layout places items left to right and wraps to a new row when the next item would pass the available width, with row and item gaps and alignment from the style system
  • An item wider than a whole row is given the row and cut by its own truncation (the fit_* helpers)
  • Row height follows the tallest item in the row
  • Works inside overlays, windows and docked bodies

Activity

  1. added
    minorBackwards-compatible new feature or capability
    featureNew capability or feature addition
    on Oct 1, 2026
  2. added 6 commits that reference this issue on Oct 1, 2026
  3. added a commit that references this issue on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew capability or feature additionminorBackwards-compatible new feature or capability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions