1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    28
    Vote Rating
    0
    ahsanzubair is on a distinguished road

      0  

    Default height and width with %

    height and width with %


    Hi,
    i used height: 100%; and width: 100%; for all my views in sencha touch but % height is not working in ExtJs when tablet is rotated from horizontal to vertical. if i keep the tablet in vertical position and refresh page then height adjust itself to maximum but when i rotate from hotizontal to vertical then view does not expand to maximum height. i have to refresh again and then height of view fix itself to maximum height in vertical position of tablet. why is that i have to refresh page to see view fixed in maximum height with %. Is that known issue in ExtJs?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,642
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Ext JS isn't technically supported on mobile devices. What is the UI you have like?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.