NSBox addSubview positioning
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