Re: NSBrowser column titles disappear when scrolled [SOLVED]
Re: NSBrowser column titles disappear when scrolled [SOLVED]
- Subject: Re: NSBrowser column titles disappear when scrolled [SOLVED]
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 09 Sep 2011 16:23:53 -0400
On Sep 9, 2011, at 4:03 PM, Matt Neuburg wrote:
> I do hope you're filing bugs on all of this! m.
>
> On Tue, 06 Sep 2011 06:30:33 -0400, Bill Cheeseman <email@hidden> said:
>>
>> The solution is to set the "Titled" checkbox in Interface Builder instead of calling -setTitled: in -awakeFromNib. Surely this is a bug in NSBrowser, and it must have been around since Jaguar or earlier.
>>
>> I also notice that setting "Titled" in Interface Builder causes "Separators" to be checked when you close the Interface Builder editor and then reopen it. It isn't nice to have Interface Builder automatically changing settings behind my back like this. Also, if I call -setSeparatesColumns: along with -setTitled in -awakeFromNib instead of using Interface Builder, the column titles still don't work right. So this is clearly a case of Interface Builder settings working when the corresponding methods do not work correctly. To add to the mystery, the documentation for -setSeparatesColumns: says its value "is ignored if -isTitled: does not return no." The double negative must have confused the author of that sentence, because the value of YES does seem to be required (at least in Interface Builder) for column titles to work correctly.
Thanks for reminding me. I certainly will.
--
Bill Cheeseman - email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden