Skip to content

feat: resize a carved dock against the app's view #176

Closed

Description

@octalide

What

A side area carved for a dock cannot be resized against the rest of the window. Apps whose main view is not a blit window (cellar's world view) fix their docks' widths (octalide/cellar#154).

Acceptance

  • Either a splitter on a carved area's inner edge, or a dock space with a central node that passes input and drawing through to the app, so side docks resize against the app's view
  • The resulting sizes persist with the dock layout

Activity

  1. added
    minorBackwards-compatible new feature or capability
    featureNew capability or feature addition
    on Oct 1, 2026
  2. octalide commented on Oct 1, 2026

    @octalide
    CollaboratorAuthor

    Resolved by #168 (PR #169, merged into dev), which delivers this issue's second option: dock.central(ctx, space) makes a passthrough central node. It keeps its area while empty, paints no background, and lets input and drawing reach the app's own claim beneath the space, so side docks carved around it resize against the app's view through the ordinary splitters. dock.central_area(ctx, space) reports the rect to draw the app's view into. The sizes persist with the layout: persist saves each node's split ratio and, since #169, the space's central node. The test space__central_node_lets_the_app_beneath_show_through covers the pass-through, the splitter taking the pointer, and the centre surviving undocks.

  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