[Laszlo-dev] how do you scale a view?

Henry Minsky henry.minsky at gmail.com
Fri Oct 21 09:48:02 PDT 2005


Does that work for a view which doesn't directly contain a resource, but
contains subviews?

I am asking because for printing, I need to take a view which contains some
child text views, and ultimately set the _xscale and _yscale on it's
movieclip, in order to get it to
show up the proper size in the output page. So what I am asking is what LFC
calls will have the final effect of setting the _xscale and _yscale on a
view's movieclip?



On 10/21/05, Adam Wolff <adam at laszlosystems.com> wrote:
>
> You want width="${ unstretchedwidth/2 }"
>
> This might help:
> http://www.laszlosystems.com/~adam/blog/archives/000014.html
>
> A
>
> On Oct 21, Henry Minsky wrote:
>
> > OK, I'm confused. I just want to scale a view, making it half the width
> and
> > height. What is the API for this? The docs say setXScale is deprecated,
> use
> > "unstretchedwidth", but I don't know what that means.
> >
> >
> >
> > --
> > Henry Minsky
> > Software Architect
> > hminsky at laszlosystems.com
> >
>



--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openlaszlo.org/pipermail/laszlo-dev/attachments/20051021/c4ca7c1e/attachment.html


More information about the Laszlo-dev mailing list