• 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: how to get rid of NSSavePanel's AccessoryView's border
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to get rid of NSSavePanel's AccessoryView's border


  • Subject: Re: how to get rid of NSSavePanel's AccessoryView's border
  • From: Graham Cox <email@hidden>
  • Date: Wed, 21 Sep 2011 22:39:06 +1000

You *could* work back up the view hierarchy from your checkbox (likely you have an outlet to it in your accessory controller) until you find the NSBox then alter its settings so that it draws nothing. That might work.

But I'd also just leave it alone, it's the user's cue that you have added some non-standard stuff there.

--Graham


On 21/09/2011, at 10:31 PM, Jerry Krinock wrote:

>
> On 2011 Sep 21, at 03:41, Nick wrote:
>
>> http://rghost.net/22453441/image.png
>
> The correct terminology for "ugly border" is that Cocoa has "embedded the checkbox inside of an NSBox".
>
> To get rid of it, you might have to spend a lot of time re-implementing NSSavePanel.  Particularly if your app supports Auto Save and Versions, you're probably going to introduce other bugs.  It doesn't look that bad.  I'd just leave it alone.
>
> _______________________________________________
>
> 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

_______________________________________________

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: how to get rid of NSSavePanel's AccessoryView's border
      • From: Nick <email@hidden>
References: 
 >how to get rid of NSSavePanel's AccessoryView's border (From: Nick <email@hidden>)
 >Re: how to get rid of NSSavePanel's AccessoryView's border (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: how to get rid of NSSavePanel's AccessoryView's border
  • Next by Date: Re: how to get rid of NSSavePanel's AccessoryView's border
  • Previous by thread: Re: how to get rid of NSSavePanel's AccessoryView's border
  • Next by thread: Re: how to get rid of NSSavePanel's AccessoryView's border
  • Index(es):
    • Date
    • Thread