Re: Trouble with setWidthTracksTextView YES
Re: Trouble with setWidthTracksTextView YES
- Subject: Re: Trouble with setWidthTracksTextView YES
- From: Graham Cox <email@hidden>
- Date: Fri, 27 Jun 2014 15:52:53 +1000
On 25 Jun 2014, at 8:25 pm, Leonardo <email@hidden> wrote:
> How to avoid this loop? Any idea?
>
Have you tried -setVerticallyResizable:NO and -setHorizontallyResizable:NO on the text view? If the container tracks the view, these should be NO, if the container doesn't track the view, these should be YES. In the past having both YES would create an infinite loop. It might be that these days it no longer hangs, but nevertheless you should only have one or the other.
--Graham
_______________________________________________
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