I have a vbox layout on my Ext.Panel with three items, Page1, Page2 and Page3.
var CountryDetailsAllPages = new Ext.Panel({
scroll: 'vertical',
fullscreen: true,
layout: { type: 'vbox', align: 'stretch' },
dockedItems: [Toolbar],
items: [Page1,Page2,Page3]
});
Page1, Page2 and Page3 contain various other panels such that each Page is too big to display on the whole screen (hence the vertical scroll). Essentially, on load, Page1 should be visible and the user must scroll down to keep reading the other pages.
However, when it renders, Sencha Touch tries to show all the pages and the result is that they all overlap each other!
I'm loading the content of the pages from external HTML files and the content comes from a database and is different depending on the user's selection. I can't rely on a fixed height.
How can I fix this?