Re: NSView positioning problems
Re: NSView positioning problems
- Subject: Re: NSView positioning problems
- From: Andre Masse <email@hidden>
- Date: Sun, 16 Nov 2008 16:27:50 -0500
Quincey you were right on the money: the new view had a wrong flag
(anchored to the bottom).
Thanks a lot to everyone,
Andre Masse
On Nov 16, 2008, at 14:41, Quincey Morris wrote:
There's not quite enough information here to be certain what's going
on, but in a sense it shouldn't matter *when* you do the
replacement, as long as it's an *exact* replacement at the time when
you do it. In particular, that means:
-- setting the OutputToolbarView's frame to DummyToolbarView's frame
just before you add it to OutputView's subviews
-- making sure that OutputToolbarView's autoresize flags are
identical to DummyToolbarView's autoresize flags, which have
presumably been set up in IB to get the resizing behavior your want.
I suspect that #2 is the problem here.
_______________________________________________
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