yep, I have this problem too. Here is another related post: http://forums.ext.net/showthread.php...tor-Render-Bug
I have had a brief look into this and as per the code below, once the button is clicked a number of times, you see the problem only in ie (Firefox etc. is fine). I am running Win 7 ie9 in IE9 standards mode. The only difference in the two sets of code is the layout. At this stage I gather any other layout that affects the height has a problem. It seems only to work on a layout of "form".
Works:
Code:
function TestNew(params) {
new Ext.Window({
height: 770,
width: 650,
padding: 0,
id: 'tucnmwin',
iconCls: 'x-icon-users',
items: [
{
xtype: 'htmleditor',
id: 'tucnm_text',
name: 'text',
width: 500,
height: 200,
autoScroll: true,
autoHeight: true,
enabled: true,
listeners: {
afterrender : function( htmleditor ) {
//alert('tb rendered');
//htmleditor.getToolbar().show();
}
}
},
{xtype: 'button',
handler: function(button, event) {
Ext.getCmp('tucnmwin').close();
},
text: 'Close',
tabIndex :99,
xtype: 'button'
}
],
layout: 'form',
modal: true,
closable: false,
title: 'New Win'
}).show();
}
Fails:
Code:
function TestNew(params) {
new Ext.Window({
height: 770,
width: 650,
padding: 0,
id: 'tucnmwin',
iconCls: 'x-icon-users',
items: [
{
xtype: 'htmleditor',
id: 'tucnm_text',
name: 'text',
anchor: '300, 200',
width: 500,
height: 200,
autoScroll: true,
autoHeight: true,
enabled: true,
listeners: {
afterrender : function( htmleditor ) {
//alert('tb rendered');
//htmleditor.getToolbar().show();
}
}
},
{xtype: 'button',
handler: function(button, event) {
Ext.getCmp('tucnmwin').close();
},
text: 'Close',
tabIndex :99,
xtype: 'button'
}
],
layout: 'anchor',
modal: true,
closable: false,
title: 'New Win'
}).show();
}