• 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: Font size in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font size in NSTableView


  • Subject: Re: Font size in NSTableView
  • From: Paolo Bertani <email@hidden>
  • Date: Tue, 9 May 2006 13:02:25 +0200



I need to set the font size of an NSTableView's text.


You need to set it in the data cells of all table columns that display text.

I found an easier way.

In the implementation of

tableView:objectValueForTableColumn:row:

I just return a NSAttributedString instead of a plain NSString.

I would never have thought it could be so easy!






"<Ai sensi e per gli effetti del D.Lgs. n.° 196/2003 (Codice della Privacy) si precisa che questo messaggio, ed eventuali relativi allegati, è strettamente riservato ai destinatari in indirizzo, con espressa diffida di conservazione, uso, copiatura o divulgazione. Chiunque lo riceva, non essendone destinatario, è pregato di avvertire lo scrivente e di provvedere alla distruzione di quanto erroneamente pervenuto>" _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Font size in NSTableView (From: Paolo Bertani <email@hidden>)

  • Prev by Date: Re: Is Global Memory accessible in FRAMEWORKS ?
  • Next by Date: How to include a framework in a custom IB Palette
  • Previous by thread: Re: Font size in NSTableView
  • Next by thread: NSOutlineView and acceptsFirstMouse
  • Index(es):
    • Date
    • Thread