Re: how to get rid of NSSavePanel's AccessoryView's border
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