• 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
NSBox addSubview positioning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBox addSubview positioning


  • Subject: NSBox addSubview positioning
  • From: Will Koffel <email@hidden>
  • Date: Tue, 4 Jan 2005 00:09:05 -0500


I'm having a problem when adding subViews to an NSBox (in a sheet, if it matters).


The position of the added subview is always at the bottom left of the NSBox. And if I add further views, even using 'position:NSWindow[Below|Above] relativeTo:firstAddedView' , the new view overlaps the first.

In my case, the views being added are multiple instances of the same view, being loaded individually from a NIB file on a button press. Every time I press the button, another view overlays the first.

Any suggestions would be most welcome! I'm still learning to get around Cocoa/IB.

-Will

_______________________________________________
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


  • Follow-Ups:
    • Re: NSBox addSubview positioning
      • From: Guy English <email@hidden>
  • Prev by Date: Re: Constantly Updating NSTableViews
  • Next by Date: Re: 2 problems.
  • Previous by thread: Re: Sound Mgr Examples? Do they even exist?
  • Next by thread: Re: NSBox addSubview positioning
  • Index(es):
    • Date
    • Thread