Hi, I'm using SmartGWT 2.4 and have a seemingly simple question.
I have one form with a dark background and would like the title of the fields on this form to be a different color than the font colors defined for the skin.
Any example how to do this?
I tried fieldItem.setTitleStyle. But this doesn't seem to work and it also doesn't set the style for the field with the focus
I tried form.setStyleName() but this seems to override the "normal" css class what is not the class used by the fields on the form.
The style classes used are
.formTitle
.formTitleFocused
.formTitleDisabled
.formCellError
.formTitleError
.formHint
what am I missing here?
I have one form with a dark background and would like the title of the fields on this form to be a different color than the font colors defined for the skin.
Any example how to do this?
I tried fieldItem.setTitleStyle. But this doesn't seem to work and it also doesn't set the style for the field with the focus
I tried form.setStyleName() but this seems to override the "normal" css class what is not the class used by the fields on the form.
The style classes used are
.formTitle
.formTitleFocused
.formTitleDisabled
.formCellError
.formTitleError
.formHint
what am I missing here?
Comment