Hello all,
After ExtJs has loaded, I've tried setting the labelSeparator string as:
Code:
// default value is ":"
Ext.form.Labelable.prototype.labelSeparator = " : ";
Unfortunately, though, I don't find this value gets used when I add a component with a label to a Window. For example:
Code:
this.myTextField = Ext.create(
"Ext.form.field.Text"
,{
fieldLabel: "Some label"
}
);
Will show "Some label:", not "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.
Cheers,
jtm