On Mar 27, 2011, at 12:05 AM, Quincey Morris wrote:

> On Mar 26, 2011, at 23:22, Rick Mann wrote:
> 
>> They'll keep going 'till the go *over* the panel's title bar, and then 
>> they're clipped by the outer boundary of the panel.
> 
> It sounds like you added the views to the wrong place in the view hierarchy. 
> Instead of adding them somewhere below the panel's content view, you've added 
> them to the panel's content view's superview (or further up, if there is more 
> hierarchy up there -- I don't really know, since everything above the content 
> view is private to the frameworks).

I double-checked. Everything is fine. The NSView I use as a container of the 
views I add at run-time is just a plain view inside the content view. Note that 
all my views move funny, run-time added or not.

I just noticed, however, that the content view bindings were fixed upper, and 
fixed right margins. Not sure how they got that way, but by adding left and 
bottom, it behaves correctly. The behavior I got doesn't make sense, but it's 
working now.

Thanks, 
-- 
Rick



_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to