Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Scroolview zoom position

Hello,

Is there a way to control the zoom position?

I have a ScrollView ({maxZoomScale:3.4,minZoomScale:1.2}) with ImageView inside with an image bigger than the screen.

The problem is that the image is aligned to the right of the screen and not centered when I open the window.

— asked October 26th 2010 by Fabiano Taioli
  • center
  • imageview
  • position
  • scrollview
0 Comments

1 Answer

  • Solved,

    the magic property is contentOffset

    :)

    — answered October 26th 2010 by Fabiano Taioli
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.