FROM : John Stiles
DATE : Tue Nov 20 23:56:46 2007
It's a checkbox and I want to know how wide it will need to be if I
change its title—not exactly sure how I would do that.
Michael Watson wrote:
> 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/<email_removed>
>>
>> This email sent to <email_removed>
>
DATE : Tue Nov 20 23:56:46 2007
It's a checkbox and I want to know how wide it will need to be if I
change its title—not exactly sure how I would do that.
Michael Watson wrote:
> 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/<email_removed>
>>
>> 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

