Hi,

I have the following view hierarchy in question:

self.window.contentView --subview--> Transparent view (in code, main purpose to 
have a drop shadow for subview) of same size with setWantsLayer and a drop shadow, 
also acceptsFirstResponder --subview--> a smaller centred view (subclassed for 
background colour using NSRectFill()), doesn't have layer.

The problem is that the focus ring belonging to a combo box (in the 
self.window.contentView) is visible through to the last subview.

The image is uploaded and url is: http://i63.tinypic.com/2v3sk6b.jpg

Tried with all combinations of isOpaque and acceptsFirstResponder etc in all 
concerned views.
How to make it go away without having to part with focus ring (they are there 
for a purpose)?

Thanks,
Navneet
Sent from iCloud
_______________________________________________

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

Reply via email to