Re: Tabs window autoresizing.
Re: Tabs window autoresizing.
- Subject: Re: Tabs window autoresizing.
- From: Ryan Bates <email@hidden>
- Date: Mon, 9 Feb 2004 10:49:03 -0800
One way to do this programmatically is to implement the
"tabView:didSelectTabViewItem:" NSTabView delegate method. In this
method you can call something like [window setFrame:frame display:YES].
You can even have the window animate using [window setFrame:frame
display:YES animate:YES]. If you want to change the speed of the
animation you will need to subclass NSWindow and override the
"animationResizeTime:" method.
Ryan
On Feb 9, 2004, at 10:07 AM, Antonio Carusone wrote:
Im writing an app with 4 tabs. Each tab is the same width but they all
are different in height. Is there a way to make the window auto-resize
when I click each tabs?
Thanks.
Antonio
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.