Re: Why can't I change the font used by an NSTextField?
Re: Why can't I change the font used by an NSTextField?
- Subject: Re: Why can't I change the font used by an NSTextField?
- From: Kyle Sluder <email@hidden>
- Date: Wed, 25 Apr 2012 21:20:41 -0700
On Apr 24, 2012, at 3:17 AM, Matt Mower <email@hidden> wrote:
> I am using a source list view (view based NSOutlineView) and trying to display some items in bold text (using the default system font, not a custom font) and it's not working.
I'm guessing that you've hooked up your text field to the textField outlet of the NSTableCellView? If so, I think you might be running into NSTableView's automatic management of appearance for source lists.
Try disconnecting the text field from the textField outlet and see if your custom font sticks.
--Kyle Sluder
_______________________________________________
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