• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
sizeToFit without actually changing the size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sizeToFit without actually changing the size?


  • Subject: sizeToFit without actually changing the size?
  • From: John Stiles <email@hidden>
  • Date: Tue, 20 Nov 2007 13:40:29 -0800

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: sizeToFit without actually changing the size?
      • From: Michael Watson <email@hidden>
  • Prev by Date: Re: Writing NSString to a file descriptor
  • Next by Date: Re: float[4][3] into NSValue
  • Previous by thread: Re: float[4][3] into NSValue
  • Next by thread: Re: sizeToFit without actually changing the size?
  • Index(es):
    • Date
    • Thread