• 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
Re: (got it) lower-right origin on NSView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: (got it) lower-right origin on NSView?
      • From: j o a r <email@hidden>
References: 
 >lower-right origin on NSView? (From: Philip George <email@hidden>)

  • Prev by Date: Re: What is the purpose of static typing?
  • Next by Date: Re: Proper retain/release etiquette
  • Previous by thread: lower-right origin on NSView?
  • Next by thread: Re: (got it) lower-right origin on NSView?
  • Index(es):
    • Date
    • Thread