Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User senchaSaurav's Avatar
    Join Date
    Feb 2012
    Location
    Bangalore, India
    Posts
    41
    Vote Rating
    0
    senchaSaurav is on a distinguished road

      0  

    Default Pinch in/Pinch out (Zoom in/Zoom out) in ST2

    Pinch in/Pinch out (Zoom in/Zoom out) in ST2


    Hi,
    How can I achieve Pinch in/ Pinch out i.e Zoom in/ Zoom out in html content in ST2?
    Not any single element but through out the app.. Any example please

  2. #2
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    there is an option to activate pinch zoom
    http://docs.sencha.com/touch/2-0/#!/...preventZooming

    which would zoom the hole app

  3. #3
    Sencha User senchaSaurav's Avatar
    Join Date
    Feb 2012
    Location
    Bangalore, India
    Posts
    41
    Vote Rating
    0
    senchaSaurav is on a distinguished road

      0  

    Default


    Thanks alot.
    I am trying to do as mentioned below

    Ext.Viewport.add({xtype:'mainview',preventZooming:false});

    Is this the correct way?

  4. #4
    Sencha User
    Join Date
    Aug 2011
    Location
    Cedar Rapids, IA
    Posts
    63
    Vote Rating
    1
    aoathout is on a distinguished road

      0  

    Default


    I think you want something like this:

    Code:
    Ext.application({
        viewport: {
            preventZooming: false
        },
    
        .....
    });

  5. #5
    Sencha User senchaSaurav's Avatar
    Join Date
    Feb 2012
    Location
    Bangalore, India
    Posts
    41
    Vote Rating
    0
    senchaSaurav is on a distinguished road

      0  

    Default Pinch ZoomIn/Zoom out

    Pinch ZoomIn/Zoom out


    Below code is
    Code:
    Ext.application({    name: 'PECMobile',
    	viewport:{
    	preventZooming:false
    	},
        requires: [
            'Ext.MessageBox'
        ],
    
    
        stores: ['Costs','InvoiceInfo','PaymentInfo'],
    	models:['CostModal','InvoiceInfoModal','PaymentInfoModal'],
        glossOnIcon:true,
        
        icon: {
            57: 'resources/icons/Icon.png',
            72: 'resources/icons/Icon~ipad.png',
            114: 'resources/icons/Icon@2x.png',
            144: 'resources/icons/Icon~ipad@2x.png'
        },
        
        phoneStartupScreen: 'resources/loading/Homescreen.jpg',
        //tabletStartupScreen: 'resources/loading/Homescreen~ipad.jpg',
    
    
        profiles: ['Tablet'],
    
    
        onUpdated: function() {
            Ext.Msg.confirm(
                "Application Update",
                "This application has just successfully been updated to the latest 0.0.8 beta version. Reload now?",
                function() {
                    window.location.reload();
                }
            );
        }
    });
    But still it not working .. even after native iOS packaging.

Thread Participants: 2