Page 1 of 1

Scaling a group of elements in skin

Posted: Sun Oct 01, 2017 6:10 pm
by PLaine
Hello,

I put a map and 15 markers in a container; I'm trying to scale the container with its content (with logic block : reduce size if display<1000px), but I have to do this element by element because it's not possible to group and scale/move proportionnally; It's not easy because I have to calculate the final position for each element. Is there a workaround for scaling the whole content (group) of the container?

Thanks,

Philippe

Re: Scaling a group of elements in skin

Posted: Mon Oct 02, 2017 2:15 pm
by Hopki
Hi Philippe,
You just need to scale the container.
Please see this post: viewtopic.php?f=22&t=11710#p48283
Regards,
Hopki

Re: Scaling a group of elements in skin

Posted: Tue Oct 03, 2017 10:45 am
by PLaine
Hello,

Thanks Hopki.
Thanks to your link, It works now.
The mistake was that I worked with pixels instead of 0 to 1 factor... and in position/scale tab instead of appearence tab!

Regards

Philippe