[Laszlo-user] Is zooming in on views possible?
Anthony Bargnesi
abargnesi at gmail.com
Sat Jan 5 08:18:00 PST 2008
Julien,
Thanks for the info, it sounds like that might achieve the affect I wanted.
In order to get a better understanding of what you're saying, how would that
look in the laszlo code? I'm not sure what you mean by transparent resource
and what you would have to declare on the child views within the parent.
Thanks again.
- Anthony
On Jan 5, 2008 5:51 AM, Julien Lépine <julien.lepine at free.fr> wrote:
> Hi Anthony,
>
>
>
> You can first try playing with a view that would have stretches="both"
> defined (for the parent view, and that would have a transparent resource the
> initial size of that view).
>
>
>
> When you will change the size of that view, it will zoom on the resource,
> and on the side effect (or maybe a desired one, but the fact is that it
> happens), all the child views will be zoomed along.
>
>
>
> So I guess this can achieve the effect you want.
>
>
>
> ++
>
> Julien
>
>
> ------------------------------
>
> *De :* laszlo-user-bounces at openlaszlo.org [mailto:
> laszlo-user-bounces at openlaszlo.org] *De la part de* Anthony Bargnesi
> *Envoyé :* samedi 5 janvier 2008 06:51
> *À :* laszlo-user at openlaszlo.org
> *Objet :* [Laszlo-user] Is zooming in on views possible?
>
>
>
> I was wondering if I have a parent view that has child views that can be
> moved around, can I zoom in on the parent view and have the children resize
> with it? I would like it to work similarly to how something like GoogleMaps
> works.
>
> It could certainly be possible to accomplish this by resizing the
> individual child views based on the zoom levels, but I was just curious if
> openlaszlo supported this out of the box. Any direction would certainly
> help at this point.
>
> Thanks,
> Anthony
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20080105/d7831b6b/attachment.html
More information about the Laszlo-user
mailing list