Re: Rounded NSBox/NSView?
Re: Rounded NSBox/NSView?
- Subject: Re: Rounded NSBox/NSView?
- From: Kyle Sluder <email@hidden>
- Date: Sat, 3 Oct 2009 12:40:33 -0700
On Oct 3, 2009, at 10:35 AM, PCWiz <email@hidden> wrote:
The problem with these 2 methods is that even though the rounded
corners are drawn, anything inside the view (e.g. a table view) does
not have rounded corners, only the view itself does. Is there any
workaround for this?
Set a mask on the graphics context? The problem is that the subviews
don't expect rounded corners and will draw as normal, leading to
artifacts like disappearing borders.
To do this satisfactorily you will need a wholly custom UI. Usually
this is a red flag.
--Kyle Sluder
_______________________________________________
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