Re: (got it) lower-right origin on NSView?
Re: (got it) lower-right origin on NSView?
- Subject: Re: (got it) lower-right origin on NSView?
- From: Philip George <email@hidden>
- Date: Wed, 24 Jul 2002 22:40:18 -0500
I don't know what it is, but nearly every time I ask a question on here,
seconds later the answer just jumps out of the documentation and hits me
on the head. NSView let's you do exactly what I'm asking about via
setAutoresizingMask:
It's what's going on behind the scenes when you adjust the springs in
Interface Builder.
Not sure what Mask should be set to yet, but that shouldn't take too
much effort to figure out.
- Philip
On Wednesday, July 24, 2002, at 10:21 PM, Philip George wrote:
>
*This message was transferred with a trial version of CommuniGate(tm)
>
Pro*
>
Isn't it possible to set an NSView's origin at any of its corners?
>
>
I need it set to lower-right, so that subViews will hang to the right
>
when the main view is resized. I simulate this in code right now by
>
relocating the subViews, but it's kludgy and sometimes you can see the
>
subViews being shuffled around. Simply having the origin at lower-right
>
would resolve this issue entirely.
>
>
Thanks.
>
>
- Philip
>
_______________________________________________
>
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.