[Gambas-user] How to auto-adjust GridView column widths?

Benoît Minisini gambas at ...1...
Sun Jan 22 13:49:55 CET 2012


Le 21/01/2012 17:48, M. Cs. a écrit :
> Is there a way to force a GridView control with 4 columns to adjust
> the column's width to the content's width?
>
> How would it work with a control which expands or stretches itself
> during maximizing the FMain?
>
> Thanks!
>

Normally you have to set the column width to -1 to make it adjust its 
contents. But I'm not sure that it works with GridView using the Data event.

Just test and tell me. :-)

-- 
Benoît Minisini




More information about the User mailing list