• 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: Resizable NSTabView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizable NSTabView


  • Subject: Re: Resizable NSTabView
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 4 Nov 2010 08:27:25 -0700

On Thu, Nov 4, 2010 at 6:54 AM, Richard Somers
<email@hidden> wrote:
> Apple's documentation indicates that a NSToolbar with selectable items can
> be used for navigation in a preference panel. This is often used in
> conjunction with an NSTabView that is configured to have no visible tabs.
>
> http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Toolbars/Tasks/SelectableItems.html
>
> In many of Apple's preference panels (Mail, Safari, Finder) the bottom edge
> of the window moves up an down to accommodate the different view heights.
>
> Is there a way in Interface Builder to set a dynamic NSTabView height?

No, and even if there were that wouldn't change the height of the window.

Just call -setFrame:display:animate: when the toolbar selection
changes. Incidentally, this is one reason why I don't like the tabless
tab view approach. I'd rather just swap NSViews in the view hierarchy.

--Kyle Sluder
_______________________________________________

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: 
 >Resizable NSTabView (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: won't work call from uitableview cell
  • Next by Date: Re: Resizable NSTabView
  • Previous by thread: Resizable NSTabView
  • Next by thread: Re: Resizable NSTabView
  • Index(es):
    • Date
    • Thread