I found GridView.Columns[x].Expand = False, but it doesn't have any effect.
And on the other GridView, it is not set, but it runs like set to False. Strange... Rolf Am 03.11.2015 13:15, schrieb Fabien Bodard: > For 2) set the column width to -1 > > 2015-11-03 11:08 GMT+01:00 Rolf-Werner Eilert <eilert-sprac...@t-online.de>: >> Looking for 2 things: >> >> 1) How to set the last column to a fixed width (which does not spread to >> the right border). I've got 2 GridViews here, one shows this behaviour, >> the other one has the default setting. How do I change it? I can't find >> it anymore... >> >> 2) Wasn't there a way to automagically adapt the column width to the >> contents? Or do I have to do this "manually" from within the DATA event? >> >> Thanks for any help >> >> Rolf >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user