Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (zoomscale)
Viewing all articles
Browse latest Browse all 12

Set zoomScale on subView of ScrollableView

$
0
0

Hello,

I'm coding an application for iPad, using titanium mobile 1.7.5.

I have a scrollableView filled with 50+ images.

var scrollV = Titanium.UI.createScrollableView({
    cacheSize:3,
    center:{x:512,y:384},
    maxZoomScale:2,
    minZoomScale:1,
    width:1024,
    height:768,
    zIndex:1
});
When I zoom In an image, then scroll to next one without unzooming, I would like to unzoom the zoomed image.

I've tried to set zoomScale of the view to 1, zoomScale to the scrollableView to 1... nothing seems to work.

Does anyone have an idea ?

Thanks !


Viewing all articles
Browse latest Browse all 12

Latest Images

Trending Articles





Latest Images