Re: NSOutlineView problem with Text cells.

2008-12-11 Thread rajesh
On Dec 10, 2008, at 6:09 PM, Arun wrote: Hi I have an App in which i use NSOutlineView in the left hand side for Navigational controls. The Root and child's have text cells. I am have changed the font size for the texts in the text cells. are these cells customized ? I mean , Is there any

Re: NSOutlineView problem with Text cells.

2008-12-10 Thread Corbin Dunn
On Dec 10, 2008, at 9:09 AM, Arun wrote: Hi I have an App in which i use NSOutlineView in the left hand side for Navigational controls. The Root and child's have text cells. I am have changed the font size for the texts in the text cells. After this the text in the cells are not aligned. Th

Re: NSOutlineView Problem

2008-04-05 Thread Peter Maurer
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 vi

Re: NSOutlineView Problem

2008-04-05 Thread のりちん
Nick, I believe NSCell has setFont method to specify which NSFont you want to use. > 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? __

Re: NSOutlineView Problem

2008-04-05 Thread Nick Rogers
hi, I'm now returning an instance of NSButtonCell for the checkbox, is it ok? 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? Wishes, nick On 05-Apr-08, at 3:09 PM, Nick Roge