Re: Cocoa equivalent to HIViewGetOptimalBounds?

2010-01-19 Thread Jo Meder
Hi Kyle, On 20/01/2010, at 5:34 AM, Kyle Sluder wrote: > On Jan 18, 2010, at 6:48 PM, Jo Meder wrote: > >> Is there a Cocoa equivalent to HIViewGetOptimalBounds()? That function would >> return the optimal bounds for an HIView and I found it very useful. > > Not

Re: Cocoa equivalent to HIViewGetOptimalBounds?

2010-01-19 Thread Kyle Sluder
On Jan 18, 2010, at 6:48 PM, Jo Meder wrote: Is there a Cocoa equivalent to HIViewGetOptimalBounds()? That function would return the optimal bounds for an HIView and I found it very useful. Not entirely. -sizeToFit and other NSCell methods will get you bounds information, but not

Cocoa equivalent to HIViewGetOptimalBounds?

2010-01-18 Thread Jo Meder
Hi, Is there a Cocoa equivalent to HIViewGetOptimalBounds()? That function would return the optimal bounds for an HIView and I found it very useful. I need to support 10.4. Regards, Jo Meder___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com