ExtJS align radiogroup in form

Posted by bensiu on Stack Overflow See other posts from Stack Overflow or by bensiu
Published on 2011-01-09T03:29:07Z Indexed on 2011/01/10 15:53 UTC
Read the original article Hit count: 174

Filed under:

I am looking for way to setup FormPanel that labels will be aligned left on left side (this is default) and field aligned rigth on right side - they are aligned left...

how long I am dealing with DisplayField, TextField, or NumberField adding

ctCls:  'x-form-element-currency',

where

.x-form-element-currency {
   text-align: right;
}

do the work and is nicely aligned to right

My problem start when I try to do this same with radiogroup element (I want to have Yes-No radio select)

ctCls: what adding class to the correct (in my opinion) container abowe radiogroup does not make aligment...

What I do wrong ?

© Stack Overflow or respective owner

Related posts about extjs