HTMLEditor and Percentage
I have a form that resizes almost every element by percentage and works perfectly, except for the HTMLEditor.
All of my columns, fieldsets, every is perfect.
But my HTMLeditor will only size properly when it is given a width using pixels and not percentages. (while it stretches across the whole screen, it only has an active frame of 300pixels wide -- See attached screenshot)
How can I resize the htmleditor, so it will resize using percentages.
Realizing that I will need to utilize setSize could someone please give me an example of how I can make this work?
Thanks
David...
Thank you so much for the quick response. That worked perfectly.
David...
Ext.EventManager.onWindowResize(function(){
var ct = Ext.get('your-containing-element');
Ext.getCmp('your-editors-id').setSize(ct.getWidth()*.95); // or whatever your percentage
});
#If you have any other info about this subject , Please add it free.# |

