When atempting to create a dialog with multiple sizers,
panels and controls, it appears that panels mixed with
sizers doesn't work correctly.
Attempting the following:
Vsizer - panel - Vsizer - Notebook
- Vsizer - Notebook
I am presented with a shrunken panel where it is
impossible to correctly drop components.
The attached image shows this problem. The form
contains a vertical sizer, with at the top, a panel,
containing a sizer and thereupon a notebook (no
pages, just the notebook) and below a sizer containing
a notebook. The difference is obvious.
I believe that there should be no (or very little)
difference to what is seen when a panel is used as
opposed to when it is not. I
believe that this is a problem with the panel
implementation, as opposed to sizer implementation,
although I am not too sure. It also does not seem to
mattter which components are added to the sizer
contained within the panel.
Anonymous
Logged In: YES
user_id=1300799
try expanding the top level sizer. This will force a size
recalculation and hence should yield the correct "actual"
size.