• 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: Tabs window autoresizing.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Localizable.strings *just stop working*
  • Next by Date: Using Categories
  • Previous by thread: Re: Tabs window autoresizing.
  • Next by thread: Re: Tabs window autoresizing.
  • Index(es):
    • Date
    • Thread