Skip to content

Stencil tiling can repeat horizontally, vertically or both #653

Open

Description

@vangel76

The stencil "Tile" switch is on/off and repeats in both directions (crates/compose/src/eval.rs:67 tests both axes together). You cannot repeat a stencil only horizontally or only vertically (for example a border strip).

  • Reference:
    • 625_panels.json, Properties - Paint, combo tilingModes: "No Tiling", "Horizontal Tiling", "Vertical Tiling", "H and V Tiling".
    • RESULTS batch1 W1: "Tiling: Projection section > Tiling mode: No Tiling / Horizontal / Vertical / H and V Tiling."
  • Our code:
    • crates/ui-egui/src/dock.rs:1998 ui.checkbox(&mut st.tile, tr("Tile")).
    • The stencil state is a bool: crates/engine/src/session.rs:179 pub tile: bool, and crates/compose/src/eval.rs:53 pub tile: bool.
  • Size: S
  • Overlap:
  • Acceptance:
    • A "Tiling mode" combo with the four reference entries replaces the Tile checkbox.
    • Horizontal repeats only along the stencil's X and Vertical only along Y, in the overlay and in the painted result.
    • Projects saved with tile: true open as "H and V Tiling". tool.stencil accepts the new mode.
    • Engine and UI tests.

Activity

  1. vangel76 commented on Nov 18, 2026

    @vangel76
    ContributorAuthor

    I take this.

  2. ticket-craft commented on Nov 18, 2026

    @ticket-craft

    Possibly related: #433, #583 and #648.

  3. added
    missing feature
    on Nov 26, 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

    missing featureparitypriority: lowui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions