Skip to content

Support reverse index ordering in TilingLayout and its controls #1878

Open

Description

@merryman

Allow an index-ordered TilingLayout to reverse the visual order of its submorphs without mutating the owner's submorph array.

Scope:

  • Add an independent reverseOrder flag; preserve the existing positional meaning of orderByIndex.
  • Apply reversal only in index-order mode and keep CSS and Yoga behavior consistent for rows and columns.
  • Preserve both settings through copying, specs and layout equality, including detached layouts.
  • Expose the flag through the existing sidebar controls; disable its control and show the effective direction while positional ordering is active.

Acceptance: tests cover row/column and CSS/Yoga behavior, repeated layout, spec/copy round trips, and the actual sidebar checkbox/preview.

Implementation: #1697 (draft).

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions