17 Jan 2012 3:32 AM #1
Answered: Entire app in a div
I would like to wrap the touch application in a div but can't seem to get it working. I've tried autoCreateViewPort set to false and specify renderTo on my outmost component. Can't pull it off.
Would anyone like to post a snippet to get me started?
<body> <div id="hi-wrapper"> App should render here </div> </body>
Since you have fullscreen to true, it will be added to the Ext.Viewport class and not to your div. If you use renderTo you will need to handle the sizing.