• 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
Centering documentView in ScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Centering documentView in ScrollView


  • Subject: Centering documentView in ScrollView
  • From: Charles Jolley <email@hidden>
  • Date: Fri, 10 Aug 2001 11:18:45 -0500

Hi everyone,
I have a view in a ScrollView that I would like to have center in the scrollview when the size of the scroll view is larger than the size of the document view. Does anyone know how to do this?

Normally, the documentView is always displayed at (0,0) in the clipView. I have tried moving the frame around in the clip view when resizing events occur, but this causes strange twisting of the image. I can't even determine why this is happening!

Thanks,
-Charles


  • Prev by Date: Newbie question about closing windows
  • Next by Date: Drag with shadow
  • Previous by thread: Newbie question about closing windows
  • Next by thread: Drag with shadow
  • Index(es):
    • Date
    • Thread