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

NSOutlineView problem with Text cells.

2008-12-10 Thread Arun
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. The leave a lot of space in the bottom and looks a

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

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
Nick Rogers wrote: Hi, 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. Thanks, nick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Plea

NSOutlineView Problem

2008-04-05 Thread Nick Rogers
Hi, 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. Thanks, nick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post