how to get correct grid row sizing ?

Stef,

<div class="moz-text-flowed" style="font-family: -moz-fixed">thanks guys,

I coudn't use Mike solution,
because the program is generated dynamically,
so I don't know in what containers the grid is hidden.

But from your answers I got the impression,
it's a weird phenomena, so I did some trial and error:

# although not all tables are equal high, this works
   MH = 8
   self.Grid.SetDefaultRowSize ( MH, True )

# all rows seems to have equal height, so this seems the best solution
   MH = 8
   self.Grid.SetRowMinimalAcceptableHeight ( MH )

# THIS SEEMS TO BE THE TROUBLE
   MH = 8
   self.Grid.SetRowMinimalAcceptableHeight ( MH )
   self.Grid.SetDefaultRowSize ( MH, True )

cheers,
Stef

You might be able to use my solution if you use the GetParent() method somehow. Or we could just wait for the infamous Robin to make his appearance. :wink:

Mike