Re: Resizing a Window
Re: Resizing a Window
- Subject: Re: Resizing a Window
- From: Yann Bizeul <email@hidden>
- Date: Thu, 24 Jun 2004 17:31:52 +0200
>
e.g. One window has the Safari control in it, when I designed it in
>
IB, so
>
it top,left are 0,0 (locked it), and it right and bottom 800,600, and
>
window
>
has a size of 50,50. I call setFrame of a larger size and when I open
>
the
>
window, the control isn't at the top,left of 0,0, but half way down the
>
window.
Don't forget NSView's frame origin is bottom left, so according to your
example, I expect your view to stick at 50 pixel from the window's
bottom.
Did I miss something ?
--
Yann Bizeul - yann at tynsoe.org
http://projects.tynsoe.org/
_______________________________________________
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.