roundrectbutton
A few days ago, Oliver Steele contributed a roundrect class to OpenLaszlo. Until then, without a designer and art assets, we had to prototype with plain old rectangular views. The roundrect class inspired a button based on it, roundrectbutton, which I've just checked in to the dev branch, in the incubator. I was trying to make it a well-behavd basecomponent subclass, so I made it handle _applyStyle, so now it's tintable. This makes me happy in a silly sunday morning wannabe designer kind of way.
In the example below, the roundrect buttons are mine; the other widgets are built-in OpenLaszlo components.
[EDIT: Sorry, this post was not valid XHTML. Now it is, thanks to
chrispederick's webdeveloper firefox extension
alt="Valid XHTML 1.0 Transitional" height="31" width="88" />









December 28th, 2005 at 1:14 pm
Those are pretty hot. They’re much lighter and easier to look at than the standard Laszlo button class.
December 28th, 2005 at 11:21 pm
I like these a lot! People should notice that the screenshot in the post body isn’t a screenshot, it’s a running app where you can try out the buttons. I also started using them on my home page.
December 29th, 2005 at 6:11 pm
evolving development style
Over at the Laszlo Mail blog, I’ve written about a development style for the new millenium. I’ve tried to bring what-has-worked in the past into the light of new requirements and opportunities. An appropriate year-end post, I reflect on our…
January 4th, 2006 at 12:31 pm
[...] Then, Ben’s roundrectbutton got me excited about using OpenLaszlo for lighter-weight interfaces, so I added a button bar to the top of my home page. [...]
January 25th, 2006 at 9:53 am
Is it possible to grab the code for the round buttons? I do not see a link for the sourcecode anywhere.
Thanks.
Anthony Bargnesi
January 25th, 2006 at 1:44 pm
The nightly build should contain them, in $LPS_HOME/lps/components/incubator/roundrectbutton.lzx.
Get it from http://www.openlaszlo.org/download/