• 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
Window resizing with animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Window resizing with animation


  • Subject: Window resizing with animation
  • From: Jesus De Meyer <email@hidden>
  • Date: Tue, 19 Aug 2003 18:27:58 +0200

I'm trying to implement a window with a toolbar, when you click on a
toolbar item the window changes its content view and should resize so
that the content view is fully visible. However, with the code I wrote
(see below) the window resizes AND moves. The resize isn't correct
either. What am I doing wrong?

[window setContentView:subView];
[window setFrame:[subView bounds] display:YES animate:YES];
_______________________________________________
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.

  • Follow-Ups:
    • Re: Window resizing with animation
      • From: Greg Titus <email@hidden>
    • Re: Window resizing with animation
      • From: Stéphane Sudre <email@hidden>
    • Re: Window resizing with animation
      • From: j o a r <email@hidden>
  • Prev by Date: ANN: GNUMail and Pantomime 1.1.0 are released
  • Next by Date: Help!
  • Previous by thread: ANN: GNUMail and Pantomime 1.1.0 are released
  • Next by thread: Re: Window resizing with animation
  • Index(es):
    • Date
    • Thread