I’ve created a couple of ToolWindows, one that docks at the top of my window and the other that docks at the bottom of my windows. So far this works great. What I would like to do is size the two ToolWindows so that they meet at the midpoint vertically on the window.
What would be the proper way to do this?
NOTE: I also find that I manually can’t resize the ToolWindows to meet in the middle. It always leaves a white gap. I think this might be caused by the menu at the top that seems to mess up the window locations. I’ll write that up as a separate question.
Imported from legacy forums. Posted by Mike (had 1653 views)
In looking at the PropertyExplorer sample app I see that it doesn’t use a panel to dock to. Instead it passes null to DockLayoutManager which just docks to the form itself. Using that approach I find the grids in the middle meet just exactly as I would expect. I’m confused why docking to the form instead of a panel in the form would have such different results. I actually made this change to try to fix another problem I posted and found it helped here.
If this is some kind of setting to make this work within a panel I would still be interested in a response.
Imported from legacy forums. Posted by Mike (had 482 views)