PDA

View Full Version : Error on using floating Tabpanel/GroupTabPanel inside Window



yuvabarath
4 Feb 2014, 4:17 AM
When a Floating TabPanel/GroupTabPanel is used inside a Window, Floating TabPanel/ GroupTabPanel not visible(hides).

But without floating , TabPanel works fine inside Window


The code below is the sample code for this problem(TabPanel inside a Window)


Ext.create('Ext.window.Window', { title: 'Hello',
height: 200,
width: 400,
items: {
xtype : 'tabpanel',
title: 'TabPanel Layout',
height: 200,
width: 200,
floatable: true,
floating: true,
shadow:"side",
shadowOffset:50,
items: [{
xtype: "vbox",
title: 'Inner VBox',
items: [{
xtype: 'displayfield',
value: 'This is DisplayField',
}],
}],
}
}).show();

Gary Schlosberg
6 Feb 2014, 12:28 PM
This code generates a TypeError for me in Chrome. Which browser are you using?

yuvabarath
6 Feb 2014, 10:22 PM
I am using chrome.Compiling in sencha documentation.I have added the screenshots below

1: By commenting floating :true. I get this

47851

2:With same code given above post I get

47852

Here Panel is not displayed