Rich Rodecker’s blog on flash, flex, actionscript, javascript, and php, with a dash of randomness
Flex container rounded corners
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.
| Print article | This entry was posted by rich on March 19, 2008 at 5:32 pm, and is filed under Flex. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 2 years ago
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
about 2 years ago
wow, degrafa looks pretty sweet! can’t wait to try that out.