Re: Completely stuffed adding a new column to an NSOutlineView
Re: Completely stuffed adding a new column to an NSOutlineView
- Subject: Re: Completely stuffed adding a new column to an NSOutlineView
- From: David Preece <email@hidden>
- Date: Fri, 29 Jul 2005 10:34:55 +1200
On 15/07/2005, at 11:27 AM, David Preece wrote:
I'm currently adding some new features to a cocoa application, one
of which is to add a new column to an existing NSOutlineView. Seems
easy enough. I've added the column in interface builder and it
shows up fine in "Test Interface". However, linking it in to the
main application (including doing a clean all/build) and it doesn't
appear.
Just so we can find this on a search engine later, the problem
appears to be this: The application had written a plist containing
the widths of the columns. When it started up, because the column
wasn't previously there Cocoa assumed the width was zero. Deleting
the plist and starting the application up solves everything. A better
fix may be to check all the column widths on awakeFromNib or similar.
Dave
_______________________________________________
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