Your observation is correct - labels, legends, and headings (4,5 and 6) are styled with fore-color (and with a bottom border on some occasions), but the FormDecorator does not set a font-family
for those on purpose.
There are a number of reasons for this:
- Developers can use their own font-family suitable for the particular page/application
- Different fonts have different default sizes for Headings, labels and legends. Since decoration occurs on the client, if a font family was specified by the RadFormDecorator
itself and it was (obviously) different than the default, the result would be a visible and unpleasant flicker when the height of the styled elements was changed (as a sequence from the font family change). To be more exact, consider that the default is Times New, and the decorator makes it Arial. The Arial font is larger and the element would assume larger height even if its (default) font-size is not changed.
I hope this information helps.
All the best,
the Telerik team
, the state of the art learning tool for Telerik products.