Results 1 to 2 of 2

Thread: Modern Toolkit web mobile app fixed orientation question

  1. #1
    Sencha Premium Member
    Join Date
    Mar 2012

    Default Modern Toolkit web mobile app fixed orientation question

    Using SA 4.1.2.x and Ext JS 6.x is there a way to fix the orientation of a web app on a mobile device ?
    I am aware of the event Ext.Viewport.on('orientationchange', 'handleOrientationChange', this, {buffer: 50 }); and have used this in a different mobile app, then used Ext.Viewport.getOrientation() to check the orientation, then used a function setHorizontalView(); or restoreVerticalView(); to handled the change.

    Is there a way to override the orientation and fix the orientation so it does not change i.e. I want the display to remain showing a horizontal view of the app in this case a chart even if the mobile is physically change to a portrait orientation.

  2. #2
    Sencha Premium User
    Join Date
    Oct 2011


    This is an old thread. Did you ever get a response or a way to keep one orientation?

Similar Threads

  1. [OPEN] ToolTip question with Modern Toolkit
    By reg.phipps in forum Ext JS 6.x Bugs
    Replies: 3
    Last Post: 31 Mar 2017, 6:23 AM
  2. Replies: 2
    Last Post: 15 Feb 2017, 10:01 AM
  3. Modern toolkit
    By ErikJAX in forum Sencha Architect 3.x: Q&A
    Replies: 1
    Last Post: 3 May 2016, 1:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts