3 Replies Latest reply on Oct 13, 2008 7:06 PM by shadowcreeper

    RichPanel border

    sbergonzi

      Is there a way to round the corners of a panel?

        • 1. Re: RichPanel border

          no such feature out-of-the-box

          • 2. Re: RichPanel border

            is there a plan to provide rounding capaiblities? If not, is there an expample of a custom solution?

            It would be great to have a skin that provided rounding for all components.

            • 3. Re: RichPanel border
              shadowcreeper

              Look on google, there are tons of CSS examples using divs with background images.

              There are also a lot of JS examples which handle the div/CSS style generation for you.

              There are also some JS examples which do not use images but rather several divs above and below with different widths using the same background color.

              For an example to start, search for "curvyCorners" (an LGPL version of the non-image variant that I have used with RichFaces before).

              There are many more, choose whichever one works best for you (and maybe think about adding an entry to the cookbook https://www.jboss.org/community/docs/DOC-11852when you are finished).