X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b95d405138e4bcbffe3954d40a3755564ebd6907..86381d4297f0225448823369a0df73ba67664078:/interface/wx/ribbon/panel.h diff --git a/interface/wx/ribbon/panel.h b/interface/wx/ribbon/panel.h index 208290141c..aa56900d81 100644 --- a/interface/wx/ribbon/panel.h +++ b/interface/wx/ribbon/panel.h @@ -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 @@ -144,9 +141,9 @@ public: Show the panel externally expanded. When a panel is minimised, it can be shown full-size in a pop-out - window, which is refered to as being (externally) expanded. Note that + window, which is referred to as being (externally) expanded. Note that when a panel is expanded, there exist two panels - the original panel - (which is refered to as the dummy panel) and the expanded panel. The + (which is referred to as the dummy panel) and the expanded panel. The original is termed a dummy as it sits in the ribbon bar doing nothing, while the expanded panel holds the panel children.