Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

void wxPropertyGrid::SetSplitterLeft ( bool  subProps = false )

Moves splitter as left as possible, while still allowing all labels to be shown in full.

subPropsIf false, will still allow sub-properties (ie. properties which parent is not root or category) to be cropped.

Definition at line 7292 of file propgrid.cpp.

References wxPropertyGridState::GetLeftSplitterPos(), and SetSplitterPosition().

Referenced by wxPropertyGridManager::SetSplitterLeft().

    wxClientDC dc(this);

    int maxW = m_pState->GetLeftSplitterPos(dc, m_pState->m_properties, subProps );

    if ( maxW > 0 )
        SetSplitterPosition( maxW );


Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index