Re: Resizable NSTabView
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