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" />

6 Responses to “roundrectbutton”

  1. Brendan Fagan Says:

    Those are pretty hot. They’re much lighter and easier to look at than the standard Laszlo button class.

  2. Oliver Says:

    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.

  3. Sarah Allen's Weblog Says:

    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…

  4. OpenLaszlo Project Blog » Three OpenLaszlo Applets Says:

    [...] 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. [...]

  5. Anthony Bargnesi Says:

    Is it possible to grab the code for the round buttons? I do not see a link for the sourcecode anywhere.

    Thanks.

    Anthony Bargnesi

  6. benshine Says:

    The nightly build should contain them, in $LPS_HOME/lps/components/incubator/roundrectbutton.lzx.
    Get it from http://www.openlaszlo.org/download/


Copyright © 2005-2010 Laszlo Systems, Inc.