[wx-dev] [wxGridBagSize] use internal min-size?
Robin Dunn
robin at alldunn.com
Wed Feb 13 11:44:04 PST 2008
Christian Buhtz wrote:
> If I use a wxGridBagSizer() without any gaps it is not possible to
> arrange very little wxWindows side by side.
>
> Please look here for an example:
> <http://miktion.rahner-edv.de/bus/wxgb.png>
>
> It is a wxGridBagSizer with 7x7 cells.
>
> There should be no space between the cells but there is one. Why?
Empty cells have a default size, try using
pGBSizer->SetEmptyCellSize(wxSize(7,7)) to make the empty cells the same
size as your widgets.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-dev
mailing list