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: Kyle Sluder <email@hidden>
- Date: Wed, 21 Sep 2011 08:39:39 -0700
On Wed, Sep 21, 2011 at 3:41 AM, Nick <email@hidden> wrote:
> Hello
> Is there a way to hide the border, that surrounds accessory view, added to
> the NSSavePanel (i'd like to have a custom checkbox in this save panel)? I
> managed to have this checkbox, but it added an ugly border that occupies the
> whole line in NSSavePanel.
In Mac OS X, save panel accessory views have a border.
That is how save panel accessory views appear in Mac OS X.
That is how they appear in every other application as well.
Perhaps unlike other operating systems, Mac users expect consistency
in behavior and appearance of their applications.
There are times when the right thing to do is to break the rules, but
removing the box that allows the user to distinguish between "controls
that affect where the file ends up" and "controls that affect how the
file is written" doesn't strike me as a valid case.
Others have suggested you could walk the view hierarchy. There is no
guarantee this will work under sandboxing, or even in non-sandboxed
apps now or in the future.
--Kyle Sluder
> An image of the problem is here:
>
> http://rghost.net/22453441/image.png
>
> Around "Save as Plain Text" a border has been added automatically, which I'd
> like to get rid of.
>
> (10.7.1 Mac OS X Lion)
>
> Thank you!
> _______________________________________________
>
> 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