Re: Tabs window autoresizing.
Re: Tabs window autoresizing.
- Subject: Re: Tabs window autoresizing.
- From: Antonio Carusone <email@hidden>
- Date: Mon, 9 Feb 2004 13:58:06 -0500
Ryan,
Thanks man.
The problem is that im really new to all this on some of what you wrote
doesnt make sense to me. Do you know if theres some kind of tutorial
for this?
Ive seen it done before where the window animates to a new size. Thats
pretty much how I want it to work.
Thanks.
Antonio
On Feb 9, 2004, at 1:47 PM, Ryan Bates wrote:
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
_______________________________________________
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.