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: John Joyce <email@hidden>
- Date: Wed, 21 Sep 2011 11:43:55 -0500
Based on the screenshot, "Save as Plain Text"
This function would probably be better suited as a preference at the app or document level.
Another option would be adding an item to the File menu for Save as Plain Text.
There are a lot of options, but some would indeed involve moving toward a custom panel, which would not be all that terrible to create, but would mean you would not easily take advantage of versions without some work.
On Sep 21, 2011, at 10:39 AM, Kyle Sluder wrote:
> 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