]> git.saurik.com Git - wxWidgets.git/blame - contrib/docs/latex/fl/faq.tex
test undividable words
[wxWidgets.git] / contrib / docs / latex / fl / faq.tex
CommitLineData
e99e9bc3
JS
1\section{FAQ}\label{faq}
2
3\subsection{A row of all non-fixed bars don't position properly}
4
5By Julian Smart.
6
7I found that if I added all non-fixed bars, bars would overlap.
8This seems to be because the proportional resizing doesn't work
9before the window is laid out. I worked around this by setting
10pane sizes {\it before} the bars are added:
11
12\begin{verbatim}
13 wxSize sz = GetClientSize();
14
15 // Set width for panes to help it do the calculations
16 int i;
17 for (i = 0; i < 2; i++)
18 {
19 cbDockPane& pane = * (m_frameLayout->GetPane(i));
20 pane.SetPaneWidth(sz.x);
21 }
22\end{verbatim}
23