Strange results when resizing window
Strange results when resizing window
- Subject: Strange results when resizing window
- From: Austin Sarner <email@hidden>
- Date: Fri, 14 Jan 2005 15:13:01 -0500
Hey,
I have a preferences style window that uses a toolbar for switching between panes in a tab view. This works fine, but I tried to implement resizing - and it resizes, but in a very odd way. It resizes everything from the bottom as opposed to the top. If anyone could point me in the right direction (I have messed with the origin of the nsrect but with no success). I'm looking for resizing similar to that in the preferences of mail.app. Thanks a bunch and if its something really simple then please excuse my ignorance ;).
NSRect myRect;
myRect = [mainWindow frame];
myRect.size.width = 546;
myRect.size.height = 301 + toolbarHeight;
[mainWindow setFrame:myRect display:YES animate:YES]; _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden