Re: sizeToFit without actually changing the size?
Re: sizeToFit without actually changing the size?
- Subject: Re: sizeToFit without actually changing the size?
- From: Michael Watson <email@hidden>
- Date: Tue, 20 Nov 2007 17:52:05 -0500
Could you calculate the extents of the things the view contains, using
their origins and sizes, perhaps?
--
m-s
On 20 Nov, 2007, at 16:40, John Stiles wrote:
Is there any way to obtain the size that -sizeToFit will set my view
to, without actually having it set the size?
(I can get the view's frame and then change the frame back to its
old frame after -sizeToFit is done, but that seems like I'm going
the long way around…)
_______________________________________________
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:
@bungie.org
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