PDA

View Full Version : TreeEditor autoSize


Darklight
04-30-2007, 05:39 AM
like other people i've had the problem of the input field being only a few pixels wide in IE.

the pretty simple fix is to change this line in ext.js or TreeEditor.js:

Ext.extend(Ext.tree.TreeEditor,Ext.Editor,{alignme nt:"l-l",autoSize:false

set autoSize:false to "true". it then always sizes the input field to the width of the text under it.

setting autoSize to true in the config options when creating the TreeEditor does not work though, which i guess is a bug.

jack.slocum
04-30-2007, 08:15 AM
The config you are passing in is a config for the field, not the editor.