![Avatar](https://secure.gravatar.com/avatar/0bd2964c83f0174dea407e0ea5cdbc03.jpg?s=64&d=identicon&r=g)
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