faq.tex

来自「Wxpython Implemented on Windows CE, Sou」· TEX 代码 · 共 24 行

TEX
24
字号
\section{FAQ}\label{faq}

\subsection{A row of all non-fixed bars don't position properly}

By Julian Smart.

I found that if I added all non-fixed bars, bars would overlap.
This seems to be because the proportional resizing doesn't work
before the window is laid out. I worked around this by setting
pane sizes {\it before} the bars are added:

\begin{verbatim}
    wxSize sz = GetClientSize();

    // Set width for panes to help it do the calculations
    int i;
    for (i = 0; i < 2; i++)
    {
        cbDockPane& pane = * (m_frameLayout->GetPane(i));
        pane.SetPaneWidth(sz.x);
    }
\end{verbatim}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?