-
2 Apr 2012 10:47 PM #1
Unanswered: Applying fieldCls to Ext Date field positions picker icon to left
Unanswered: Applying fieldCls to Ext Date field positions picker icon to left
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.
-
3 Apr 2012 9:53 AM #2Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,190
- Vote Rating
- 195
- Answers
- 436
Was it other than the default of "x-form-field"?
We would need to see the CSS to help solve your problem.
Regards,
Scott.
-
3 Apr 2012 9:04 PM #3
The style looks something like this:
.GeneralBold{
font-family: Calibri, Helvetica, sans-serif;
font-size: 10pt;
color: #000;
font-weight: bold;
}
Regards
Nagesh
-
6 Apr 2012 12:23 PM #4Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,190
- Vote Rating
- 195
- Answers
- 436
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.


Reply With Quote