Window resizing with animation
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.