• 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
NSTableView fontsize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView fontsize


  • Subject: NSTableView fontsize
  • From: Koen van der Drift <email@hidden>
  • Date: Sun, 8 Feb 2004 09:01:24 -0500

Hi,

How do I set the font size of an NSTableView? I looked in IB, but there is no setting for it. I also tried to do it programmatically, based on some info I found in the archives:


- (void)tableView:(NSTableView *)aTableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn *)tableColumn row (int)rowIndex
{
[cell setFont: [NSFont fontWithName: @"Geneva" size:11.0] ];
}


But this doesn't change the font either.


How do I do this?


thanks,

- Koen.
_______________________________________________
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: NSTableView fontsize
      • From: Shaun Wexler <email@hidden>
    • Re: NSTableView fontsize
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Re: Changing a filename while the FSRef is in use
  • Next by Date: Re: applicationShouldTerminateAfterLastWindowClosed
  • Previous by thread: Re: applicationShouldTerminateAfterLastWindowClosed
  • Next by thread: Re: NSTableView fontsize
  • Index(es):
    • Date
    • Thread