Results 1 to 2 of 2

Thread: Left-docked Toolbar when landscape orientation

  1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    25
    Answers
    1
    Vote Rating
    1
      0  

    Default Answered: Left-docked Toolbar when landscape orientation

    Hi,
    I have a mobile app. Is there a possibility to adjust the Ext.Toolbar docking depending on the orientation of the device, e.g., dock to the top when portrait and dock to the left when landscape. How could I solve that?
    Best regards,
    Frank

  2. Ext.viewport.Default fires an 'orientationchange' event that you can listen to and move your docked component.

  3. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    Ext.viewport.Default fires an 'orientationchange' event that you can listen to and move your docked component.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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