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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to