• 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: How to get a scroll view to recognize overflow on a custom view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get a scroll view to recognize overflow on a custom view?


  • Subject: Re: How to get a scroll view to recognize overflow on a custom view?
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 23 Mar 2009 11:00:26 -0700

On Mar 23, 2009, at 02:33, Ken Tozier wrote:

The new issue though is that when I set the size of the content view (document view?) the scroller's size changes to the new size of the content. I've checked and rechecked to make sure all the autosize parts are set up in IB correctly, but no matter what I do, I can't both set the size of the scroller content view and preserve the frame of the scroll view.

At this point, step 1 is probably to log the frame rects of the scroll view, clip view and document/content view after the resize is finished, and find out for sure which one is wrong.


Step 2 could be to register to receive frame-changed notifications from each of the views, and watch the sequence of changes to see where it goes wrong. Chances are, things aren't happening in the order your code thinks they are.


_______________________________________________

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


References: 
 >How to get a scroll view to recognize overflow on a custom view? (From: Ken Tozier <email@hidden>)
 >Re: How to get a scroll view to recognize overflow on a custom view? (From: Quincey Morris <email@hidden>)
 >Re: How to get a scroll view to recognize overflow on a custom view? (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Custom windows -- just curious
  • Next by Date: Re: How to draw text with expanded inter-character spacing
  • Previous by thread: Re: How to get a scroll view to recognize overflow on a custom view?
  • Next by thread: Creating UI for as of Get Info Panel
  • Index(es):
    • Date
    • Thread