I applied fieldCls to a date field, but it positions the picker icon to left. How can I ensure the picker icon stays on the right, even when I apply fieldCls.
I applied fieldCls to a date field, but it positions the picker icon to left. How can I ensure the picker icon stays on the right, even when I apply fieldCls.
Was it other than the default of "x-form-field"?
We would need to see the CSS to help solve your problem.
Regards,
Scott.
The style looks something like this:
.GeneralBold{
font-family: Calibri, Helvetica, sans-serif;
font-size: 10pt;
color: #000;
font-weight: bold;
}
Regards
Nagesh
I do not see this behavior on my setup: (see attached)
f192816.jpgCode:.GeneralBold { font-family: Calibri, Helvetica, sans-serif; font-size: 10pt; color: #000; font-weight: bold; } Ext.onReady(function(){ var simpleCombo = Ext.create('Ext.form.field.Date', { fieldLabel: 'Date', width: 320, labelWidth: 130, // store: store, fieldCls: 'GeneralBold', renderTo: Ext.getBody() }); });
Regards,
Scott.