4 Jul 2010 6:52 AM #1
Pinch to Zoom
Pinch to Zoom
I'm wanting to implement pinch to zoom using Sencha Touch.
As an example, if you take the Solitaire demo app and imagine that the user can pinch to zoom in or out on the board, and then swipe to move around it vertically and horizontally. Any initial hints as to how would you do that?
The simplest goal is that the elements scale up/down as the user pinches either way. Taking the idea a step further, I'd like my view to update itself to show more details depending on how zoomed in you are.
My starting point is to play with the CSS scale factor, but any pointers welcome.
6 Jul 2010 10:25 AM #2
- Join Date
- Mar 2007
- Haarlem, Netherlands
- Vote Rating
Yeah, the CSS scale property is the first thing that comes to mind.
10 Jul 2011 6:06 AM #3
Tommy, is there a way to reenable the native browser pinch zoom behavior for certain aspects of the app, such as a card that displays an article, without faking it via CSS?
19 Jul 2011 4:14 AM #4
I'd like to achieve the same feature: is there a way to easly implement a pinch to zoom ( let's say a Panel with text)?
The best would be to get back the native browser behaviour.
Last edited by giupo; 19 Jul 2011 at 4:16 AM. Reason: Typo
By mrsunshine in forum Sencha Touch 1.x: Examples and ShowcasesReplies: 8Last Post: 21 Aug 2012, 2:51 AM
By ludm in forum Sencha Touch 1.x: DiscussionReplies: 9Last Post: 16 Jan 2012, 5:21 AM
By originative in forum Community DiscussionReplies: 9Last Post: 17 Mar 2009, 1:58 PM
By mxu in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 5 Feb 2008, 1:20 AM
By Bobafart in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 29 Dec 2006, 5:36 PM