[Gambas-user] Column auto reseize in tables views.

Benoît Minisini gambas at ...1...
Wed Aug 5 17:29:49 CEST 2009


> Am Mittwoch, den 05.08.2009, 15:58 +0200 schrieb Benoît Minisini:
> > > Salut Benoit,
> > >
> > > while talking GridView. I think that belongs to that subject.
> > >
> > > I moving a gambas1 project to gambas2, and remarked,
> > > that with GridView you can't have EmptySpace at right in a
> > > Grid (gambas1.png) At that time I used the TableView component.
> > >
> > > With GridView from gambas2 (gambas2.15.2) even the Field which is set
> > > during creation like that :
> > > 	ME.Columns[ME.Columns.Count - 1].Width = 0
> > >         ME.Columns[ME.Columns.Count - 1].Resizable = FALSE
> > > is now visible.(gambas2.png)
> > >
> > > Do you have a hint for that.
> >
> > You didn't send the gambas2.png screenshot. Can you post it so that I can
> > see what you are talking about?
>
> Sorry, this time I send both.
>
> This is what I found in ChangeLog
>
> --- 8< --
> ---------------------------------------------------------------------------
>---- gambas2-2.11 - 28 Jan 2009
> ---------------------------------------------------------------------------
>---- --- 8< --
> * BUG: The last GridView column should be correctly stretched when its
>   width is explicitely set now.
> --- 8< --
>
> Charlie

OK. As a workaround, don't put the hidden column last, so that it keeps its 
null with.

-- 
Benoît




More information about the User mailing list