On Feb 11, 2007, at 11:27 PM, johnf wrote:

> Setting the size in the afterinit works.  But I'm Multiplying the  
> width of the
> grid by 2.5 to get a normal look.
> I have already populated the grid with data so I would think the  
> grid would
> know the size it should be.

        Grids don't have a way of sizing themselves. You have to either use  
Sizers or hard-code the dimensions.

        Dialogs have an 'AutoSize' property that, when True, causes them to  
resize themselves to fit their controls.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to