Re: Long delay of NSPopUpButton first click
Re: Long delay of NSPopUpButton first click
- Subject: Re: Long delay of NSPopUpButton first click
- From: Jens Alfke <email@hidden>
- Date: Mon, 29 Aug 2011 09:13:13 -0700
On Aug 28, 2011, at 11:25 PM, Rimas M. wrote:
> Well.. that worked. Generally. But those images must have transparent
> background. And as I have discovered, when dealing with text drawing, that
> causes loose of sub-pixels antialiasing. This is unacceptable. Will need to
> use NSAttributedString+attributedTitle way... Any hints on speeding up menu
> showing time on the first click?
Personally, I would find it worse for an app load and render every installed font (I have something like 1,000), than for it to draw that menu quickly but slightly less smoothly.
Can’t you render the text onto a solid background that’s been filled in with the menu-item background color?
—Jens_______________________________________________
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