• 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
Rounded NSBox/NSView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rounded NSBox/NSView?


  • Subject: Rounded NSBox/NSView?
  • From: PCWiz <email@hidden>
  • Date: Sat, 3 Oct 2009 11:35:59 -0600

Hi,

I want to create a NSBox or an NSView (doesn't matter which one) that has rounded corners. Now I know about NSBox's setCornerRadius method, and using NSBezierPath in an NSView subclass to draw a rounded rect. 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?

Thanks
_______________________________________________

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


  • Follow-Ups:
    • Re: Rounded NSBox/NSView?
      • From: Graham Cox <email@hidden>
    • Re: Rounded NSBox/NSView?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Keeping NSWindow below all other windows
  • Next by Date: Re: Keeping NSWindow below all other windows
  • Previous by thread: Re: Keeping NSWindow below all other windows
  • Next by thread: Re: Rounded NSBox/NSView?
  • Index(es):
    • Date
    • Thread