Re: Using an NSToolbar in a sheet
Re: Using an NSToolbar in a sheet
- Subject: Re: Using an NSToolbar in a sheet
- From: Andreas Mayer <email@hidden>
- Date: Mon, 2 Aug 2010 01:07:25 +0200
Am 02.08.2010 um 00:20 Uhr schrieb Dave Fernandes:
Is this just a bug, or is it completely unsupported? Can anyone give
me a workaround for this?
I don't think toolbars on sheets are supported. As you said yourself,
the user might get confused if there a two toolbars in a single window.
Any comments on the UI conundrum?
Several possible solutions:
- Use a real window for the modal editor. You can attach it to it's
parent as a child window.
- Replace the contents of the main window with the editor view (or add
it on top) and swap toolbars.
- Add some other sort of toolbar to the sheet, that is visually
different from a main window's toolbar. Perhaps something similar to a
tab bar in inspector panels (like in iWork etc). You will probably
have to create your own implementation for that.
Andreas
_______________________________________________
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