Skip to content

Docking of tiles #30

@emilk

Description

@emilk

egui recently got support for multi-viewports (many native windows).

I'd like to be able to drag out a tile from the root egui viewport, spawning a new viewport containing that tile. That is, something like how browser tabs can be detached from their parent window into their own windows, and then dragged back into the parent window again.

For this to work well we should support:

  • Dragging out a tile into a new viewport
  • Dragging one viewport onto another viewport, merging the two
  • Dragging tiles between viewports

Detecting that one viewport is being dragged onto another is complicated without:

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