On Wed, Sep 21, 2011 at 3:41 AM, Nick <eveningn...@gmail.com> 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 (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/kyle.sluder%40gmail.com > > This email sent to kyle.slu...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com