On Apr 19, 2013, at 1:37 PM, Antonio Nunes <devli...@sintraworks.com> wrote:
> I have a panel that is shown as a sheet on the document window. I'm trying to 
> show a drawer (NSDrawer) when a certain tab is selected. The drawer shows, 
> but behind the main document window, rather than in front of it, thus being 
> either partly or completely obscured. The drawer window level is the same as 
> the panel's level (3), so I'm not sure why the drawer is drawn behind the 
> main window. As an experiment I tried adjusting the drawer's parentWindow 
> level but to no avail. Is there any way to make this work? (i.e. show the 
> drawer in front of the main window)

I don't think that's a supported UI configuration. In general, sheets are 
reserved for short modal interactions, while drawers are intended to provide 
more in-depth options in non-modal windows. If you need an in-depth interaction 
in a sheet, that sounds like a very odd occurrence.

May I ask why? What does the sheet contain, and what does the drawer add to 
that?

If you just want to show an advanced checkbox as an additional option in the 
sheet, you should probably use a disclosure triangle. For example, we have this:

http://twitpic.com/ckf5j2

that expands into this:

http://twitpic.com/ckf5ob

We originally didn't have this, but people kept checking the options when they 
didn't have to, so we decided to hide them. People who have problems go 
searching for more options and find them, but everyone else gets a fairly 
simple confirmation dialog.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to