Re: NSTableView and automatic resize to fit all information
Re: NSTableView and automatic resize to fit all information
- Subject: Re: NSTableView and automatic resize to fit all information
- From: Justin Spahr-Summers <email@hidden>
- Date: Wed, 9 Mar 2005 10:16:57 -0600
There should be an option in Interface Builder. Or you could try
NSTableColumn's "sizeToFit" method.
On Wed, 09 Mar 2005 15:15:23 +0100, Lars Forsberg
<email@hidden> wrote:
> Hi.
> How can I make the columns to automatically resize so that the
> information in each column is visible? Right now, I can't get all the
> information to be shown because some information does not fit into the
> default size of the columns. For instance, in one column I want to show
> the full path to a specific file, but I have to change the size of the
> column manually to be able to see it. I would like to have it done
> automatically.
>
> I have done this before in GTK, where I just had to call
> "set_auto_resize(TRUE)" on each column to make them fit the information
> in each cell. Can I find a similar method in Cocoa which I can use?
>
> Cheers,
> Lars Forsberg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden