How to align field inputtext right?

seba picture seba · Feb 21, 2013 · Viewed 9.4k times · Source

How can I align the Text within all fields to right instead of left? I looked throught the API but found only a property for the label.

Edit

I know that I can change it by CSS but I am looking for a way to do it with a config option. ...still hoping there is one...

Answer

Reimius picture Reimius · Feb 21, 2013

There is actually a way to do it in the field's config object:

fieldStyle:     "text-align:right;"