Search code examples
extjssencha-touchsencha-touch-2sencha-architect

CSS on a Component


I want to know what I should write and where in Architect to have some CSS do the following

What I have

What I want Vin and Source centered


Solution

  • I don't think I would like that kind of alignment especially if you have more than 1 row of fields in your form (it would look ugly).

    Looks like standard labelAlign property doesn't support center, so you would need to use labelCls.

    Take a look at fiddle: http://new.senchafiddle.com/#/3qOhD/