• 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: Using an NSToolbar in a sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using an NSToolbar in a sheet


  • Subject: Re: Using an NSToolbar in a sheet
  • From: John Joyce <email@hidden>
  • Date: Sun, 1 Aug 2010 18:12:03 -0500

On Aug 1, 2010, at 5:20 PM, Dave Fernandes wrote:

> I haven't found anything specific in the HIG about this, so I'd be interested in some opinions...
>
> I have an modal editor sheet that attaches to a document window to allow certain document contents to be manipulated. The sheet is somewhat complex, and toolbar items are definitely helpful to have. I can add a toolbar to the sheet, but this doesn't seem to be fully supported by Cocoa, and it may be confusing to the user to have the document window's toolbar right above the sheet's toolbar.
>
> It might make more sense to swap the document window's toolbar for the editor toolbar; but, unfortunately, the document window's toolbar always gets disabled when the sheet appears - so this wouldn't work.
>
> Any comments on the UI conundrum?
>
> -------------
>
> Technical problem:
> If I set an NSToolbar for the sheet (an NSWindow), it functions correctly; however, when you right click to get the contextual menu, this menu actually acts on the document window's toolbar instead of the sheet's toolbar. I.e., if you choose Icon Only, then the document's toolbar changes to Icon Only mode.
>
> Is this just a bug, or is it completely unsupported? Can anyone give me a workaround for this?
>
> Thanks,
> Dave_______________________________________________
Please keep sheets clean. (no pun intended)
In general, modal windows and especially sheets should be clear and simple.
If there seems to be a need to cram lots of things into a sheet you may want to revisit your UI design.

_______________________________________________

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: 
 >Using an NSToolbar in a sheet (From: Dave Fernandes <email@hidden>)

  • Prev by Date: Re: Using an NSToolbar in a sheet
  • Next by Date: Re: table header cells not on even lines
  • Previous by thread: Re: Using an NSToolbar in a sheet
  • Next by thread: Re: Using an NSToolbar in a sheet
  • Index(es):
    • Date
    • Thread