discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: Gorm Version 0.1.0


From: Pierre-Yves Rivaille
Subject: Re: ANN: Gorm Version 0.1.0
Date: Mon, 04 Feb 2002 22:42:11 +0100

Hi,

I tried to make the resizing behave like it does on MOSX and OS4.2.
On those two systems, sizeToFit does not resize the column so that the
header titles fit, it justs make all the headers the same size, so that's
what I tried to implement in GNUstep (with a few enhancements)

Although I am not opposed to Nicola's idea, i believe it won't be very
useful once NSTableView is perfectly integrated in Gorm.app.

        Pierre-Yves


> > I tested last cvs version of Gorm, but it still have a little problem
for me : autosizing
> > of NSTableView don't work...
> > Is it a bug or a work-in-progress ?
>
> I'm not sure exactly what your problem is, but I can see when running
> GSTest that - while I did implement the tableview autosizing when I wrote
> the table view, and it was working - now it no longer works ... for
> unknown reasons, the table view -sizeToFit: is currently ignoring the
> actual size of what is to be displayed in the table rows and headers.

Perhaps this is not that unreasonable - if you have a huge number of rows,
you might not want sizeToFit: to loop on all the rows (for all the
columns) to determine the minimum size to display comfortably all rows in
a column.

So - yes - might be a good idea not to do that ... but at least it would
be appropriate that -sizeToFit resizes columns so that the column header
is fully displayed.  That is not as much computationally expensive.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]