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 : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Anthony Bargnesi
Envoyé : samedi 5 janvier 2008 06:51
À : [email protected]
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

Reply via email to