*/
disableClear : false,
+ //private
+ addicon : false,
+ editicon: false,
+
+
// private
onRender : function(ct, position){
Roo.form.ComboBox.superclass.onRender.call(this, ct, position);
this.list.setWidth(lw);
this.innerList.setWidth(lw - this.list.getFrameWidth('lr'));
}
+
+ if(typeof w == 'number'){
+ var tw = this.trigger.getWidth();
+ tw += this.addicon ? this.addicon.getWidth() : 0;
+ tw += this.editicon ? this.editicon.getWidth() : 0;
+ this.el.setWidth(
+ this.adjustWidth('input',
+ w - tw;
+ )
+ );
+ }
+
+
},
/**