Re: Getting a table to resize columns. I'm doing everything right but it's not working?
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