• 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: NSView setFrameSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView setFrameSize


  • Subject: Re: NSView setFrameSize
  • From: Joshua Scott Emmons <email@hidden>
  • Date: Wed, 25 Jan 2006 12:31:07 -0600

Suppose that I had an NSView, with an image in it the same size of the NSView.

Is the image a subview of the view? If so, you might be able to play with its -setAutoresizingMask: to anchor it to the right side of it's parent view. That way, as the view expands, the right side of the image (the part with "5" on it) is visible first.


Haven't tried the above. Just a thought.


Cheers, -Joshua Emmons _______________________________________________ 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
References: 
 >NSView setFrameSize (From: haym37 <email@hidden>)

  • Prev by Date: Re: NSPanel question
  • Next by Date: Re: CORE DATA: derived values from several entities and managed object instances ??
  • Previous by thread: Re: NSView setFrameSize
  • Next by thread: Re: NSView setFrameSize
  • Index(es):
    • Date
    • Thread