After struggling to get my custom components (based on canvas) to render with rounded corners, I found this link.
Problem
Even after utilizing the cornerRadius property, my containers were not rendering with rounded corners.
Solution
You simply need to ensure that borderStyle property is set to solid. If a border is not desired, set the borderThickness to zero.
Ciaran
February 19, 2009 at 11:21 am
You beauty. Just what I needed.
Dave
April 14, 2009 at 9:28 pm
Thanks. Exactly what I needed.
Daniel
September 11, 2009 at 10:58 am
Cheers mate! Just what I was looking for!!
Grant
October 10, 2009 at 7:42 am
Spot on
Massiveaerodyne
November 4, 2009 at 9:12 pm
Thanks a million for once a quick answer to a specific search lol. heartheart HIM bless
Rohan
February 14, 2010 at 11:04 pm
As Grant said, spot on!
Wouter
May 13, 2010 at 1:25 pm
Cool, I needed this as well and would never have come up with the solution myself. Very well done.
LinkDaddy
May 19, 2010 at 9:31 pm
LinkDaddy…
Good stuff, found your site through bing using the words ‘GUMBO’ by the way
…
Hicham
May 22, 2010 at 5:34 am
Thanks !