Re: NSBox sizeToFit problem
Re: NSBox sizeToFit problem
- Subject: Re: NSBox sizeToFit problem
- From: Reinhard Segeler <email@hidden>
- Date: Sun, 9 May 2010 11:22:00 +0200
Hi,
I have created a test project as well and it works. The clipping of
your content might be caused by the settings in the IB - I have fixed
the margins for each object, what changed the behaviour of the
sizeToFit-command immediately to the desired result. BUT: The size to
fit command in IB behaves different. I think the reason is, that the
IB works with Apple-defaults for the UI.
-- Reinhard
Am 07.05.2010 um 12:11 schrieb Ingvar Nedrebo:
On 6 May 2010, at 17:02, Bill Hernandez wrote:
On May 6, 2010, at 10:34 AM, Ingvar Nedrebo wrote:
But when trying that, I discovered that invoking sizeToFit twice
in a row does fit the box around its contents without clipping,
but tightly -- i.e., without any margins. I tried various
permutations of sizeToFit and setContentViewMargins but no
difference: the margins are ignored. Curious.
This is exactly what I ran into...
Thanks Bill, that's another data point. I think a bug report is in
order.
i.
_______________________________________________
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
_______________________________________________
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