Add support for hiding sizer items in XRC

Handle the `<hideitems>` property for sizers and document it.

Also group `minsize` together with `hideitems` in `stdSizerProperties`, which
is used by all sizer classes except `wxStdDialogButtonSizer` in the XRC
schema.
This commit is contained in:
Bogdan Iordanescu
2015-09-24 14:48:11 +02:00
committed by Vadim Zeitlin
parent 42338fb5fd
commit b2c3ad614f
4 changed files with 24 additions and 10 deletions

View File

@@ -2282,13 +2282,17 @@ Example of sizers XRC code:
@endcode
The sizer classes that can be used are listed below, together with their
class-specific properties. All classes support the following properties:
class-specific properties. All classes except wxStdDialogButtonSizer
support the following properties:
@beginTable
@hdr3col{property, type, description}
@row3col{minsize, @ref overview_xrcformat_type_size,
Minimal size that this sizer will have, see wxSizer::SetMinSize()
(default: no min size).}
@row3col{hideitems, @ref overview_xrcformat_type_bool,
Whether the sizer will be created with all its items hidden
(default: 0).}
@endTable
@subsection overview_xrcformat_wxboxsizer wxBoxSizer