• 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
Text views resizing in IB is driving me nuts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text views resizing in IB is driving me nuts


  • Subject: Text views resizing in IB is driving me nuts
  • From: Seth Willits <email@hidden>
  • Date: Tue, 12 Mar 2013 13:10:39 -0700

I've never figured this out and it's driving me nuts at the moment. For whatever reason, resizing a text view's enclosing scrollview within IB has always changed the textview's frame within the scroll view which is wacky and does affect the text view at runtime. It's possible for the text view to have a Y origin that's some illogical positive value, but the text is still drawn correctly within the view.

For example, here the text view's frame is {0, 9, 491, 233}
http://sethwillits.com/temp/upshot/upshot_Evj6fmlK.png

Now if I grab the top of the scroll view in IB to resize it, and drag past the bottom of the view and then back up to where it was originally, the frame is {0, 331, 491, 233}
http://sethwillits.com/temp/upshot/upshot_gSSyZytS.png


The scrollview and text view somehow work together to draw the text and handle the scrollbars correctly, but the Y origin of the text view is some wacky value which is affecting the ruler view (which you can see how it's chopped off a bit in the first screenshot).

The worst part is there appears to be now way to fix this in IB, and the textview frame is handled by the text system at runtime which is somewhat out of my hands.



What's a guy supposed to do?



--
Seth Willits




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Degugging a coreaudiod plugin in xcode?
  • Next by Date: Re: Degugging a coreaudiod plugin in xcode?
  • Previous by thread: Re: [SOLVED BUT UNEXPLAINED] Framework load address from an exception log
  • Next by thread: Why does Product->Build not work for unit test targets?
  • Index(es):
    • Date
    • Thread