• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rounded NSBox/NSView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Rounded NSBox/NSView? (From: PCWiz <email@hidden>)

  • Prev by Date: Re: Auto Install Login Item
  • Next by Date: Re: Auto Install Login Item
  • Previous by thread: Rounded NSBox/NSView?
  • Next by thread: Re: Rounded NSBox/NSView?
  • Index(es):
    • Date
    • Thread