Improve support for ribbon panel sizers: panels with sizers should now automatically minimise at small sizes, and behave properly when popping up from a minimised state.
Patch by johnr in trac issue #12580. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,14 +16,11 @@
|
||||
A panel adds a border and label to a group of controls, and can be
|
||||
minimised (either automatically to conserve space, or manually by the user).
|
||||
|
||||
Non ribbon controls can be placed on a panel using wxSizers to manage
|
||||
layout. wxWrapSizer and AddStretchSpacer() are useful for proportional
|
||||
vertical and horizontal positioning. Note that layout is done within the
|
||||
constraints of the panel's client area and this is dictated by
|
||||
wxRibbonArtProvider.
|
||||
|
||||
Mixing ribbon and non-ribbon controls in a RibbonPanel is not supported at
|
||||
present.
|
||||
Non ribbon controls can be placed on a panel using wxSizers to manage
|
||||
layout. Panel size is governed by the sizer's minimum calculated size and
|
||||
the parent wxRibbonPage's dimensions. For functional and aesthetic reasons
|
||||
it is recommended that ribbon and non ribbon controls are not mixed in one
|
||||
panel.
|
||||
|
||||
@sa wxRibbonPage
|
||||
|
||||
|
Reference in New Issue
Block a user