On Jun 11, 2010, at 7:04 AM, Florian Soenens wrote:

> When i put default buttons or a NSSearchfield or a NSProgressindicator on top 
> of my custom view, the subitems display a background.

By “on top of”, do you mean they’re subviews of your custom view, or siblings 
that are just positioned in the same place?

If you make the controls subviews, they should draw correctly. Overlapping 
sibling views didn’t use to work correctly back in the day; I think they’re 
supposed to now, but you might be hitting an edge case. I think it’s generally 
better to make the controls subviews if they’re logically “inside” your view.

—Jens_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to