• 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: Getting a table to resize columns. I'm doing everything right but it's not working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a table to resize columns. I'm doing everything right but it's not working?


  • Subject: Re: Getting a table to resize columns. I'm doing everything right but it's not working?
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 27 Apr 2006 12:17:12 -0700
  • Thread-topic: Getting a table to resize columns. I'm doing everything right but it's not working?

On Mon, 24 Apr 2006 15:02:59 -0500, John Bishop <email@hidden>
said:
>Yes... it's possible that you've specified an autosave name for the
>NSTableView, which causes column info and sizes to be written to your
>preferences.  If you change the configuration of the columns (different sizes,
>more or fewer columns, etc.) without throwing out the old preferences, column
>resizing won't work - at all or erratically - when you next run the
>application

That was very helpful, and explains why, when I added a column to my table
in IB, I couldn't get it to appear in the running app. So what's the correct
approach here, from a coding point of view? In other words, what does
"throwing out the old preferences" consist of, and do I need to bracket my
changes by turning autosaving off and on? Thx - m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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

  • Prev by Date: Encoding/Decoding Multiple Objects in MyDocument
  • Next by Date: Re: how do I put ints in for NSUserDefaults for keys?
  • Previous by thread: Re: Encoding/Decoding Multiple Objects in MyDocument
  • Next by thread: call C application
  • Index(es):
    • Date
    • Thread