Re: [Newbie] NSOutlineView and setFont: ?
Re: [Newbie] NSOutlineView and setFont: ?
- Subject: Re: [Newbie] NSOutlineView and setFont: ?
- From: Rakesh Pandey <email@hidden>
- Date: Mon, 24 Feb 2003 22:20:39 +0530
int i;
NSArray *columnsArray = [yourOutLineView tableColumns];
for (i= 0; i < [columnsArray count]; i++)
[[[columnsArray objectAtIndex:i] dataCell] setFont:[NSFont
systemFontOfSize:10]];
Regards
Rakesh
>
[outlineView setFont:[NSFont systemFontOfSize[NSFont
>
smallSystemFontSize]]]
Regards
Rakesh
On Monday, February 24, 2003, at 10:08 PM, Jirome Foucher wrote:
>
Hi all,
>
>
Once again, I fight against my NSOutlineView....
>
>
This time I want to set the font of each column individually, or at
>
least set a global font for the whole outline view.
>
>
I call :
>
[outlineView setFont:[NSFont systemFontOfSize[NSFont
>
smallSystemFontSize]]];
>
>
... but nothing. No crash, no log, but the method simply doesn't seem
>
to be implemented for NSOutlineView
>
>
What are my options ?
>
Do I need to set a custom prototype cell for each column ? or is there
>
something more subtle ?
>
>
Thanks
>
Jirome
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
>
Rakesh Pandey
C programmers never die - they're just cast into void.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.