I can style a FormItemLabel to be bold using a global style, but I
can't figure out how to style a Form on a single component only and
not affect the other forms throughout the application. I can get it
working via ActionScript and using the StyleManager, but again, this
affects all instances of FormItemLabel throughout the application:
StyleManager.getStyleDeclaration("FormItemLabel").setStyle("fontWeight",
"bold");
It does work if I do the previous line on init, and then reset it when
the user leaves the form, but it feels kinda hacky, and there is a
noticeable delay while the styles are regenerated at runtime. Does
anyone know of a nice way to do this? I suppose I could subclass
FormItem or FormItemLabel, but that seems like overkill just to set a
style. Thanks.