-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are some docs on the addPanel method you may find useful here https://dockview.dev/docs/next/components/dockview#add-panel To briefly explain, you can provide a position object which takes a couple of arguments which help position the panel. You can position the new panel relative to an existing panel by providing referencePanel or an existing group by providing referenceGroup. You can also provide a direction which will be relative to the referencePanel or referenceGroup if provided and if not provided the direction is absolute. Here is a quick sandbox showing the layout you mention created using addPanel and a variety of positioning options, you could achieve the same layout with many alternative positioning configurations but this is one of them. Let me know if that helps and if you have any other questions. |
Beta Was this translation helpful? Give feedback.
There are some docs on the addPanel method you may find useful here
https://dockview.dev/docs/next/components/dockview#add-panel
To briefly explain, you can provide a position object which takes a couple of arguments which help position the panel. You can position the new panel relative to an existing panel by providing referencePanel or an existing group by providing referenceGroup. You can also provide a direction which will be relative to the referencePanel or referenceGroup if provided and if not provided the direction is absolute.
Here is a quick sandbox showing the layout you mention created using addPanel and a variety of positioning options, you could achieve the same layout with …