[wxPython-users] SetRowSize() in a grid not working correctly

Robin Dunn robin at alldunn.com
Mon Jun 18 10:45:05 PDT 2007


DomDom wrote:
> Hello,
> 
> I have met a small problem with the SetRowSize() method of a grid.
> I would like to put:
> - some rows to 0 height in order to hide them 
> - all other rows with a 20 height,
> but it doesn't work.
> I can increase some cells' height more than the "standard" one (20) but cannot
> reduce the height below the standard height.
> Is this a bug or am I missing something ?

You need to also call SetRowMinimalHeight(row, minHeight) to allow the 
row to be sized smaller than the default minimum.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list