It looks like http://jira.openlaszlo.org/jira/browse/LPP-9560 needs to be made a p0?

On 2/23/11 12:26 PM, Laszlo Developer wrote:
It looks like cornerradius is not working for the SWF10 runtime.
Tested with this code:

<canvas width="100%" height="800" debug="true">

   <stylesheet>
     note {
       bgcolor: #fff070;
       width: 180;
       height: 220;
       cornerradius: 50;
     }

   </stylesheet>

   <class name="note" extends="view" width="$style{'width'}"
height="$style{'height'}" bgcolor="$style{'bgcolor'}"
         cornerradius="$style{'cornerradius'}">
   </class>

   <note x="50" y="20" id="note1">
   </note>
</canvas>

For SWF10, I just get a square with no radius applied. In the debugger
I see that the value is set on the view, and for the display object I
get
note1.getDisplayObject().cornerradius      Array(4)#0| [50, '50', '50', '50']ยป

That code used to work with 4.7, I think.


Reply via email to