Hello,
I have a problem when I try to restore certain kinds of layouts.
I have a floating window, which hosts 2 toolwindows.
When these windows are tabbed in the floating window (as in a tabcontrol..), everything works well.
When the floating window is split, with one of the tool window in the upper part, and the other tool window in the lower part, the floating window is never displayed...
Below is the part of the layout xalm fiel for both the working layout and the one which doesn't work. The rest of the xaml is strictly the same in both cases.
Any help will be greatly appreciated !!
Working layout:
<RaftingHosts>
<RaftingHost
IsMaximized="false"
Location="1967,87"
Size="200,863"
State="Floating">
<Content
xsi:type="ToolWindowContainer"
AutoHideSize="200,863"
DockedSize="200,863"
DocumentSize="200,863"
FloatingSize="200,863"
Size="200,863"
SelectedWindowUniqueId="4d631f46-b1d5-4c36-8ddd-9a9dde535f83">
<UIElement
xsi:type="ToolWindowRef"
UniqueId="6b645538-927c-4248-a81d-31b17727aa80" />
<UIElement
xsi:type="Track"
UniqueId="5c89d370-961d-4ad0-b4f3-24586e07cefd" />
<UIElement
xsi:type="Track"
UniqueId="63432e0f-5253-4745-a4b5-0d6d7c2cf930" />
<UIElement
xsi:type="Track"
UniqueId="f7caa55b-2e88-4f70-b6b1-84487ae7d523" />
<UIElement
xsi:type="Track"
UniqueId="059f6978-8659-40e5-8a5e-b330d1c9e749" />
<UIElement
xsi:type="ToolWindowRef"
UniqueId="4d631f46-b1d5-4c36-8ddd-9a9dde535f83" />
</Content>
</RaftingHost>
</RaftingHosts>
"Bugged" layout:
<RaftingHosts>
<RaftingHost
IsMaximized="false"
Location="2035,68"
Size="200,842"
State="Floating">
<Content
xsi:type="SplitContainer"
AutoHideSize="200,863"
DockedSize="200,863"
DocumentSize="200,863"
FloatingSize="200,842"
Size="200,842"
Orientation="Vertical">
<UIElement
xsi:type="ToolWindowContainer"
AutoHideSize="200,863"
DockedSize="200,863"
DocumentSize="200,863"
FloatingSize="200,418.5"
Size="200,418.5"
SelectedWindowUniqueId="6b645538-927c-4248-a81d-31b17727aa80">
<UIElement
xsi:type="ToolWindowRef"
UniqueId="6b645538-927c-4248-a81d-31b17727aa80" />
<UIElement
xsi:type="Track"
UniqueId="5c89d370-961d-4ad0-b4f3-24586e07cefd" />
<UIElement
xsi:type="Track"
UniqueId="63432e0f-5253-4745-a4b5-0d6d7c2cf930" />
<UIElement
xsi:type="Track"
UniqueId="f7caa55b-2e88-4f70-b6b1-84487ae7d523" />
<UIElement
xsi:type="Track"
UniqueId="059f6978-8659-40e5-8a5e-b330d1c9e749" />
</UIElement>
<UIElement
xsi:type="ToolWindowContainer"
AutoHideSize="200,863"
DockedSize="200,863"
DocumentSize="200,863"
FloatingSize="200,418.5"
Size="200,418.5"
SelectedWindowUniqueId="4d631f46-b1d5-4c36-8ddd-9a9dde535f83">
<UIElement
xsi:type="ToolWindowRef"
UniqueId="4d631f46-b1d5-4c36-8ddd-9a9dde535f83" />
</UIElement>
</Content>
</RaftingHost>
</RaftingHosts>