On Thu, 2 Feb 2012 09:05:14 +1100, Graham Cox said: >Some views don't actually implement a focus ring, leaving it to you. >This is often the case if the view is typically used for content within >a scrollview. Bear in mind also that the focus ring is drawn outside the >frame of the view, so there has to be a) space available to draw it, and >b) code there to do that drawing outside the view. These are things you >might want to check. If necessary, you may have to subclass the view and >add the focus ring yourself.
In 10.7, there is new API to make focus ring drawing easier. See: <http://developer.apple.com/library/mac/#releasenotes/Cocoa/AppKit.html> I've been experimenting with it, and it works great, though I have seen it frequently appear as an offender when profiling with Instruments. -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com