PDA

View Full Version : Viewport not loading completely



minnu
25 Jan 2013, 5:10 AM
Hi ,

I have created a sencha application with 2 viewports.Each viewport containts formpanels and fields.
The second viewport have a border layout and contains 4 panels on right ,left,center and bottom.When I try to show a viewport on a button click ,it is not showing completely.I mean border of left panel is not showing.Kindly tell me what I have to do to solve this problem.

Thanks & Regards
Minnu

Farish
26 Jan 2013, 9:31 AM
According to the API Docs (http://docs.sencha.com/ext-js/4-1/#!/api/Ext.container.Viewport), there can only be one viewport on a page:

"The Viewport renders itself to the document body, and automatically sizes itself to the size of the browser viewport and manages window resizing. There may only be one Viewport created in a page."