1 \section{FAQ
}\label{faq
}
3 \subsection{A row of all non-fixed bars don't position properly
}
7 I found that if I added all non-fixed bars, bars would overlap.
8 This seems to be because the proportional resizing doesn't work
9 before the window is laid out. I worked around this by setting
10 pane sizes
{\it before
} the bars are added:
13 wxSize sz = GetClientSize();
15 // Set width for panes to help it do the calculations
17 for (i =
0; i <
2; i++)
19 cbDockPane& pane = * (m_frameLayout->GetPane(i));
20 pane.SetPaneWidth(sz.x);