• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Newbie] NSOutlineView and setFont: ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: [Newbie] NSOutlineView and setFont: ?
      • From: Jérome Foucher <email@hidden>
References: 
 >[Newbie] NSOutlineView and setFont: ? (From: Jérome Foucher <email@hidden>)

  • Prev by Date: Re: [Newbie] NSOutlineView and setFont: ?
  • Next by Date: Re: [Newbie] NSOutlineView and setFont: ?
  • Previous by thread: Re: [Newbie] NSOutlineView and setFont: ?
  • Next by thread: Re: [Newbie] NSOutlineView and setFont: ?
  • Index(es):
    • Date
    • Thread