FROM : Michael Watson
DATE : Tue Nov 20 23:52:05 2007
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_removed>)
>
> 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/mikey-san
> %40bungie.org
>
> This email sent to <email_removed>
DATE : Tue Nov 20 23:52:05 2007
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_removed>)
>
> 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/mikey-san
> %40bungie.org
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| John Stiles | Nov 20, 22:40 | |
| Michael Watson | Nov 20, 23:52 | |
| John Stiles | Nov 20, 23:56 | |
| Ricky Sharp | Nov 21, 00:08 | |
| John Stiles | Nov 21, 01:50 |






Cocoa mail archive

