add a fix for triggerfields in the preferences page
This commit is contained in:
parent
7b84f54974
commit
79e62e6069
|
@ -0,0 +1,10 @@
|
||||||
|
Ext.override(Ext.form.TriggerField, {
|
||||||
|
onResize: function(w, h) {
|
||||||
|
Ext.form.TriggerField.superclass.onResize.call(this, w, h);
|
||||||
|
var tw = this.getTriggerWidth();
|
||||||
|
if (Ext.isNumber(w)) {
|
||||||
|
this.el.setWidth(w - tw);
|
||||||
|
}
|
||||||
|
this.wrap.setWidth(w);
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue