dockview
dockview copied to clipboard
feat: priority experiments
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 227320121ca57dbcb60e9280c691f61827fe2f17:
| Sandbox | Source |
|---|---|
| customheader-dockview | Configuration |
| dockview-app | Configuration |
| editor-gridview | Configuration |
| events-dockview | Configuration |
| externaldnd-dockview | Configuration |
| fullwidthtab-dockview | Configuration |
| iframe-dockview | Configuration |
| keyboard-dockview | Configuration |
| lockedgroup-dockview | Configuration |
| nativeapp-dockview | Configuration |
| nested-dockview | Configuration |
| rendering-dockview | Configuration |
@mathuo Thanks for this experiment! It looks very promising, especially preferredSize. However panels rarely have square shaped content: the preferred width most of the time it does not equal with the preferred height.
Some examples:
- List panel designed for displaying as a narrow vertical bar by default. It has a preferred width of 420px, but no preferred height if I put it above/below a panel (especially not the 420px specified for width).
- Search box panel: it has a text field for searching. It has a preferred height of 120px and a preferred width of 450px.
This is really important to address, while min/max are a good start, day to day using the dockview it is important to be able to set flexible sizes to each panel
Refer to https://github.com/mathuo/dockview/issues/641