Centering documentView in ScrollView
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