Skip to Content »

FlashApe » Flex container rounded corners

 Flex container rounded corners

  • March 19th, 2008
  • 5:32 pm

Just putting this up there in case anyone else needs it: if you are trying to get rounded corners on your container (like HBox) by setting the cornerRadius style, you need to make sure that you also set the borderStyle to ’solid’ or the rounded corners won’t render. You can set the borderThicknessProperty to “0″ to hide the border.

2 People had this to say...

Gravatar
  • Juan
  • March 19th, 2008
  • 8:54 pm

If you want to style each individual corner with a different radius, check out Degrafa. There’s advanced CSS features that let you do all kinds of cool stuff through CSS. Check out this example: http://samples.degrafa.com/CSSSkin/CSSSkin.html

Gravatar
  • rich
  • March 21st, 2008
  • 8:55 am

wow, degrafa looks pretty sweet! can’t wait to try that out.

Want your say?

* Required fields. Your e-mail address will not be published on this site


You can use the following XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>