• Form Layout Row - style and styleClass not working

    By Steve Smillie 1 decade ago

    I am trying to modify the look of some rows in a Form Layout using the style or styleClass properties but these settings are not rendered to the final page.  
    Is this a known limitation or bug? Any workarounds?

    • Possible workaround

      By Simon McLoughlin 1 decade ago

      Hi Steve,

      At a quick glance it does seem the styles/ style classes are being added to the formRow's element, however its not rendering them, I can't even seem to modify the using google chrome dev tools. It might be an issue with styling a html table in general. I'll look into this but in the short term you can set the labelPosition property of a formRow  to "none". This will give you a blank row with no styling, meaning you can then add panel's, div's etc to your form row and add any controls after that then style those to appear the way you want.

      hope this helps.

      Simon

      • Will give that a try

        By Steve Smillie 1 decade ago

        Thanks, I will give that method a try