• 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: Positioning an NSView in an NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Positioning an NSView in an NSWindow


  • Subject: Re: Positioning an NSView in an NSWindow
  • From: "Paolo Manna" <email@hidden>
  • Date: Tue, 17 Jul 2007 08:32:36 +0100

[myView setBounds:myViewRect];

AFAIK, "bounds" is the internal representation of the view coordinates: if you want to define the position in the superview, you should use setFrame: instead.

Paolo
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: How to loop until kill command sent?
  • Next by Date: Re: Preference application
  • Previous by thread: Positioning an NSView in an NSWindow
  • Next by thread: Getting an NSAttributedString from NSData/NSTextView using Core Data
  • Index(es):
    • Date
    • Thread