After ExtJs has loaded, I've tried setting the labelSeparator string as:
Unfortunately, though, I don't find this value gets used when I add a component with a label to a Window. For example:
// default value is ":"
Ext.form.Labelable.prototype.labelSeparator = " : ";
Will show "Some label:", not "Some label : ".
this.myTextField = Ext.create(
fieldLabel: "Some label"
I've checked and my first line above is definitely changing the value stored for the labelSeparator, it just isn't using it. Is there a problem with my syntax above? Where I'm writing it to? When? I'm doing it within the Application's launch function.
BTW, I realize that I can set the labelSeparator within the config for the Ext.form.field.Text. I'm looking for a way to change them all so I don't need to worry if I miss some. And, it certainly seems like it should be possible to do this, so any ideas/pointers are welcome.