Results 1 to 2 of 2

Thread: Difference in dimensions when adding an app to iPad home screen

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    30
    Vote Rating
    0
      0  

    Default Difference in dimensions when adding an app to iPad home screen

    Hi all,

    I have an app in sencha touch 2 and when i save it in the home screen of an iPad (it saves it as some kind of standalone app) it keeps the dimensions of the app but from when it was rendered in iPad safari.

    Again, i have an app with a container that when viewed on safari has 400px height. (This height is auto calculated by sencha i never hardcoded the number) When i save it to the home screen, and it opens full screen (without safaris toolbar, etc) the container still has 400px height. It like the full screen app remembers the sizes from when it was viewed on safari and doesn't re calculate heights for full screen.

    Do someone knows what is happening and how to fix this?

    Thanks!

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    Sencha Touch doesn't calculate the size, the browser is responsible for layouts in ST2
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

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