Ok, NOW I can get some sleep.

Turns out that I was forgetting to invert my second conversion, thus:

                <method name="calcWidth">
                        if (unstretchedwidth > unstretchedheight) {
                                return parent.width;
                        } else {
                                return parent.height * 
(unstretchedwidth/unstretchedheight);
                        }               
                </method>               

You guys are a huge help and you are probably not even awake right
now. Thanks for the moral support!

Mike Pence
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to