• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView and automatic resize to fit all information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTableView and automatic resize to fit all information (From: Lars Forsberg <email@hidden>)

  • Prev by Date: Re: NSEnumerator retaining objects?
  • Next by Date: Re: NSEnumerator retaining objects?
  • Previous by thread: NSTableView and automatic resize to fit all information
  • Next by thread: compositeToPoint with alpha
  • Index(es):
    • Date
    • Thread