Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member Brendan Carroll's Avatar
    Join Date
    May 2007
    Location
    Balmer, MD.
    Posts
    139
    Vote Rating
    1
    Brendan Carroll is on a distinguished road

      0  

    Default OrientationChange

    OrientationChange


    Seems like orientationchange doesn't work as expected and always passes same widht and height regardless if device is in landscape or portrait.

    Using pr4 with iOS 5 on iPhone 4/iPad 2

    Code:
    initialize: function () {
            //console.log('initialize viewport');
            this.callParent(arguments);
            Ext.Viewport.on('orientationchange', 'handleOrientationChange', this, { buffer: 100 });
        },
    
        handleOrientationChange: function (orientation, width, height) {
            if (!Ext.isEmpty(orientation)) {
                console.log('calling layout');
                this.fireEvent('mainorientationchanged', orientation, width, height);
                console.log('done call');
            } 
        }
    -BC ...

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar