2 Replies Latest reply on Feb 11, 2009 6:59 PM by Nick Belaevski

    CustomizeableGradient: width & height?


      Custom gradient, rendered with the following parameters:

      <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
       <f:attribute name="valign" value="top" />
       <f:attribute name="gradientHeight" value="14px" />
       <f:attribute name="gradientColor" skin="myGradientColor" />
       <f:attribute name="baseColor" skin="myBaseColor" />

      ... is 20x500px long.

      How can I reduce the size of the resulting picture? Are there any undocumented params like "width" and "hight"?