• 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
Re: Trouble with setWidthTracksTextView YES
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Trouble with setWidthTracksTextView YES
      • From: Leonardo <email@hidden>
References: 
 >Trouble with setWidthTracksTextView YES (From: Leonardo <email@hidden>)

  • Prev by Date: Re: Problems with NSComboBox delegate
  • Next by Date: Re: Trouble with setWidthTracksTextView YES
  • Previous by thread: Re: Unwanted enclosingScrollView
  • Next by thread: Re: Trouble with setWidthTracksTextView YES
  • Index(es):
    • Date
    • Thread