Re: RS: unichars displayed in a table column
Re: RS: unichars displayed in a table column
- Subject: Re: RS: unichars displayed in a table column
- From: Roland Silver <email@hidden>
- Date: Sun, 29 Jul 2007 08:10:18 -0600
Shawn,
I'm not sure how to apply your suggestion to my problem, but I tried
another tack: to have the delegate method
tableView:objectValueForTableColumn:row: return an ATTRIBUTED string
with the desired font, rather than returning an NSString.
That worked!
--rollos
------------------------------------
On Jul 28, 2007, at 16:34 , Shawn Erickson wrote:
On 7/28/07, Roland Silver <email@hidden> wrote:
Question 2. How do I set the font for characters that appear in the
table view? I wasn't able to find the answer in "Table View
Programming Guide" or in the documentation for NSTableView or
NSTableColumn.
The "cells" in the table display themselves using a shared NSCell (one
per column) and NSCell has method to deal with attributed strings,
font, etc.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden