I'll definitely look at it... Thank you Raju!
Raju Bitter wrote:
Alexander,
have a look at the demo file I added to the JIRA issue for rounded corners:
http://jira.openlaszlo.org/jira/secure/attachment/12887/Webkit-RoundedCornerClip-POC.zip
http://jira.openlaszlo.org/jira/secure/attachment/12888/SWF10-HTML-Webkit-Compare.png
It's possible to create the same effect in some browsers by applying SVG masks.
The HTML example is using SVG/CSS attributes, but it should be possible to add
that feature to the DHTML runtime. Not sure how much work that would be, and it
would only work in Firefox, Safari, Webkit and probably Opera 10.5. IE9 will
support rounded corners, no idea if there will be support for masking images.
- Raju
On Mar 4, 2010, at 9:45 PM, Max Carlson wrote:
Hi Alexander,
It's great to have you back! I assume you're deploying a DHTML app? Currently,
browsers don't handle clipping and rounded corners well. As of now, I don't
think we're setting the border-radius of the image divs - so that's a bug. Can
you file a bug in http://jira.openlaszlo.org/ so we can get this into the queue?
Clipping now works with corner-radius in recent nightly builds of trunk/5.0.x,
but it's up to the browser manufacturers to sort out the inconsistencies before
we can do much about DHTML.
Thanks!
Regards,
Max Carlson
OpenLaszlo.org
On 3/4/10 11:24 AM, Alexander Wallace wrote:
Hi all!
I've been away from Laszlo for a long time but I understand the basics
of UI and dealt, in the past, a lot with webservices side.
Now i want to see if I can start using it again for some presentational
solo apps...
My main need right now is to know if i can use round corners on views
that contain images and that these images would look like having round
corners without having to actually cut them in a graphics program.
I see the cornerradius attribute, but the minute i add an image to the
view, the effect (rounded corners) is gone...
Is that not available yet?
Please advise.
Thanks!