Re: Issues with implementing WYWIWYG font menu
Re: Issues with implementing WYWIWYG font menu
- Subject: Re: Issues with implementing WYWIWYG font menu
- From: Steve Mills <email@hidden>
- Date: Wed, 29 Apr 2015 22:44:53 -0500
On Apr 29, 2015, at 21:44:01, Graham Cox <email@hidden> wrote:
>
>
>> On 30 Apr 2015, at 6:33 am, David Durkee <email@hidden> wrote:
>>
>> using a custom view in each NSMenuItem to draw the name of the font in its own font
>
> This isn’t really necessary - you can just set an attributed title on a standard menu item and it will draw in the Font given in the attributes. You might find that is easier and less buggy than adding a view to the item.
David, if you end up using a custom view, I also found that it acted all whacky as far as having the selection show correctly, and did a bunch of stuff to work around it and fix it. I can provide direction if needed on that front.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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