]> git.saurik.com Git - wxWidgets.git/commitdiff
Update wxRibbonPanel documentation to mention use of sizers.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Sep 2010 22:58:58 +0000 (22:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Sep 2010 22:58:58 +0000 (22:58 +0000)
This documents the changes of r65436.

Closes #12418.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/ribbon/panel.h

index 53ca21687363d13619601cbbcb78adca7a53c9b3..208290141cab8a5fa6d7655a6034ac23f7055391 100644 (file)
     
     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.
     
     @sa wxRibbonPage