-
resize html editor
hello all,
i'm trying to resize my html editor but its not working
i added height and width aswell but that didn't work either.
Any idea how to resize the editor? it doesn't fit in my panel
Code:
var messageField = new Ext.form.HtmlEditor({
id :'messageField',
hideLabel:true,
name: 'messageField',
autoScroll:true,
//anchor: '100% -53', // anchor width by percentage and height by raw adjustment
value : '<h2>One thing I love about you</h2>'
});
messageField.setHeight(100);
messageField.setWidth(100);