10 Replies Latest reply on Oct 6, 2011 7:26 AM by Francisc

    Define a styleName for a component in a custom ItemRenderer

    Francisc Level 3



      I have a custom item renderer that extends the LabelItemRenderer.

      I only add an extra StyleableTextField and make them stay horizontal in the form of "Category: Value" using X and Y coordinates.


      How can I define a styleName for the custon StyleableTextField?


      By that I mean: In the CSS file, use something like renderers|myCustomRenderer myStyleableTextField{...}.