timb
16 Apr 2007, 12:31 PM
I'm trying to change the default Form.labelAlign property through a config file that is used throughout my app. The config.js file is loaded right after ext-all.js. Here's my code:
Ext.form.Form.prototype.labelAlign = 'right';
Ext.form.Form.prototype.buttonAlign = 'left';
Ext.form.Field.prototype.msgTarget = 'side';
The buttonAlign and msgTarget defaults are being changed successfully, but not the labelAlign. Any ideas?
Ext.form.Form.prototype.labelAlign = 'right';
Ext.form.Form.prototype.buttonAlign = 'left';
Ext.form.Field.prototype.msgTarget = 'side';
The buttonAlign and msgTarget defaults are being changed successfully, but not the labelAlign. Any ideas?