
Hi,
In my app, I have rafted two ToolWindows inside a single RaftingHost, and I have a SplitContainer separating the two. I move the splitter so that one ToolWindow is much larger than the other. Then I serialize this layout to xml.
Later, when I restore the layout using the DockSiteLayoutSerializer.LoadFromFile, my ToolWindows have been given equal vertical height within the splitter. In other words, the splitter is centered in the RaftingHost.
I would like for the size of the ToolWindows to be restored properly.
Is there a trick to making this work?
Thanks,
Greg
In my app, I have rafted two ToolWindows inside a single RaftingHost, and I have a SplitContainer separating the two. I move the splitter so that one ToolWindow is much larger than the other. Then I serialize this layout to xml.
Later, when I restore the layout using the DockSiteLayoutSerializer.LoadFromFile, my ToolWindows have been given equal vertical height within the splitter. In other words, the splitter is centered in the RaftingHost.
I would like for the size of the ToolWindows to be restored properly.
Is there a trick to making this work?
Thanks,
Greg