PDA

View Full Version : Can I htmleditor resizable with size of window?



everrich
11 Sep 2008, 7:41 PM
window = new Ext.window({
.........
,resizable: true,
,items: [{
xtype:'htmleditor'
,id:'editEditor'
,name: 'text_editor'
,hideLabel: true
,anchor:'100%'
,listeners:{
initialize: function(e){
e.focus(true,100);
}
}
}]
.........
});

when i resizable of window, i want resizable to agree size of window.
how can i wrriten code?

13 Sep 2008, 7:03 AM
new Ext.Window({
width : 500,
height : 300,
layout : 'fit',
items : {
xtype:'htmleditor'
,id:'editEditor'
,name: 'text_editor'
,hideLabel: true
,anchor:'100%'
,listeners:{
initialize: function(e){
e.focus(true,100);
}
}
}

}).show();