Re: NSOutlineView Problem
Re: NSOutlineView Problem
- Subject: Re: NSOutlineView Problem
- From: Peter Maurer <email@hidden>
- Date: Sat, 5 Apr 2008 20:07:55 +0200
i have checkboxes (NSButtonCell) in the first column of NSOutlineView.
problem is what should I return as object for that column.
Program is crashing there.
Try [NSNumber numberWithInt: (isChecked ? NSOnState : NSOffState)].
Also I need to show smaller font in other columns of this outline
view.
The default font is bigger.
So do I need to set custom cell in order to achieve small font?
Try [[aColumn dataCell] setFont: aFont] -- you can also do this in
Interface Builder by selecting the cell in question and hitting cmd-t,
as far as I remember.
Cheers,
Peter.
_______________________________________________
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