Page 1 of 1

Adding Rows to Docking Manager Layouts

PostPosted: Mon Dec 19, 2016 12:02 am
by cerent
Hello,

I am currently using dockable frames with a docking manager. As far as I understood, docking managers use borderlayout. I would like to create rows in my docking manager and allow adding maximum of 3 dockable frames to a row. Since I can do this by moving my dockable frames after creation, I think that I must be able to do it on creation as well. I would be glad if you could help me with this issue.

Re: Adding Rows to Docking Manager Layouts

PostPosted: Mon Dec 19, 2016 12:24 am
by JIDE Support
We treat the initial layout differently because it is hard to define a really complex layout using code. So, many layouts that you can achieve using drag and drop cannot be achieved by the initial layout. The only workaround is to drag and drop to get the layout you want, then save it as layout file. Then in your code, you load this saved file and treat it as the initial layout for your user.