View Full Version : no fullscreen after orientation change

8 Feb 2011, 8:39 AM

8 Feb 2011, 9:47 AM
You didn't specify a layout on the TabPanels themselves. You should specify "fit" as the layout as well as setting fullscreen to true. I've found that anytime you have a container component with other components inside, you have to specify a layout for the container. In other words:

var mainPanel = new Ext.TabPanel({
tabBar: {
dock: 'bottom',
layout: {
pack: 'center'
fullscreen: true,
layout: 'fit',

I don't know if that'll solve your problem - I'm pretty new to Sencha myself - but it solved some similar issues for me.

9 Feb 2011, 1:20 AM