PDA

View Full Version : [OPEN] [4.1B3] preventHeader not honored



mankz
28 Feb 2012, 11:54 PM
var p = Ext.create('Ext.Panel', {
width: 500,
height: 300,
preventHeader : true,
html : 'foo'
});

p.render(Ext.getBody());
p.collapse();

Shows header....

mitchellsimoens
29 Feb 2012, 12:33 PM
I think they show the header for the tool to be shown but in this case you would expect it not to be shown.

We will look into this.

Belaya
9 Apr 2012, 11:47 PM
4.1 RC2
Try move the window with preventHeader : true - b.proxy.header is undefined


var shadowsWindow = Ext.create('Ext.window.Window', {
preventHeader : true,
border : false,
height : 600,
width : 800,
resizable : false
});
shadowsWindow.show();

The header is displayed.