• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Showing a drawer on a sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing a drawer on a sheet


  • Subject: Re: Showing a drawer on a sheet
  • From: Uli Kusterer <email@hidden>
  • Date: Fri, 19 Apr 2013 15:14:57 +0200

On Apr 19, 2013, at 1:37 PM, Antonio Nunes <email@hidden> 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 (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

References: 
 >Showing a drawer on a sheet (From: Antonio Nunes <email@hidden>)

  • Prev by Date: My App crash on 10.7.5, but works on 10.8
  • Next by Date: Re: My App crash on 10.7.5, but works on 10.8
  • Previous by thread: Showing a drawer on a sheet
  • Next by thread: My App crash on 10.7.5, but works on 10.8
  • Index(es):
    • Date
    • Thread