• 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: Subject: Smaller text in NSTableView, possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subject: Smaller text in NSTableView, possible?


  • Subject: Re: Subject: Smaller text in NSTableView, possible?
  • From: Lorenzo <email@hidden>
  • Date: Tue, 17 Jun 2003 14:57:04 +0200

Yes, in Project Builder, do what Robert Cerny already told you.
If you instead want to change the font programmatically do:

------------------------------------------------
// create the want you want, e.g.
NSFont *myFont = [NSFont labelFontOfSize:10];


// then for each column you want a new font, do:
NSTableColumn *theCol;
theCol = [yourTableView tableColumnWithIdentifier:@"anIdentifier"];
[[theCol dataCell] setFont: myFont];



Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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:
    • Display Sleep...
      • From: Martin-Luc Girard <email@hidden>
  • Prev by Date: Re: NSTableView question!
  • Next by Date: Re: NSTableView question!
  • Previous by thread: [ANN] objc-source.org POP-email accounts
  • Next by thread: Display Sleep...
  • Index(es):
    • Date
    • Thread