Just after finishing my last post on downloadable font support, I saw another update to OpenLaszlo trunk, containing the code to support rounded corners in the JavaScript/DHTML runtime. Here’s a a screenshot of the application in SWF10:
OpenLaszlo rounded corners in SWF10
While that has been possible in Flash for years, here’s the more interesting part: the same application running in DHTML, showing the rounded corners for Webkit, Safari and Firefox. It should work in Chrome as well, but there’s a still a small bug which will be fixed:
I added a drop shadow to two of the views in this demo. Having support for rounded corners and drop shadow in DHTML makes styling and development of components so much easier! Up to now, skinning in OpenLaszlo had to be done in the same way you would skin an HTML page: take visual art assets and attach them to views/divs to create a skin. Shadows had to be added as graphics as well.
For a re-design of the OpenLaszlo components these features will give the OpenLaszlo team a lot more flexibility. At the same time application performance should increase (less views need to be generated) and download size should be drastically reduced (due to the lack of multiple request made to the art assets used for skinning).










{ 1 trackback }
{ 2 comments… read them below or add one }
I like it .. In which version will be available this feature?
Miguel, it should be in the 4.7 release of OpenLaszlo . I’m not sure when that’s going to be, you’d have to ask Amy Muntz through the OpenLaszlo developer mailing list for that.