24 Jun 2012 6:55 PM #1
Unanswered: Difference in dimensions when adding an app to iPad home screen
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?
26 Jun 2012 9:50 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Sencha Touch doesn't calculate the size, the browser is responsible for layouts in ST2Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.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.