If you use fullscreenmode they will scale automatically, you don't have to do anything. Everything on the card will resize itself proportionally, which is why it's so easy.

The down side is that buttons and other controls will also scale, so they may not be exactly the same size as standard OS conventions, but I live with that. If you are using a custom skin it doesn't matter much.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 12, 2018 5:26:13 AM Tiemo Hollmann TB via use-livecode <use-livecode@lists.runrev.com> wrote:

Hi,

I have a full-window image and need dozens of clickable transparent polygons
on top of it, shaping details of the image. My idea was, that all these
polygons could be resized and positioned automatically by the scaling
property of the object, when resizing the stack.



I have never used the geometry propertry section of an object to scale it
and I don't see actually how it works.

My idea was, that when activated, the object would scale automatically, if I
resize the stack, but nothing happens with the object. Obviously it's not
that easy, as I thought, or I am missing something vital.



I also tested to resize each object in the resizeStack handler by script by
the resized proportions of the stack, but this gives very inaccurate results
because of rounding the small factors of all the small resize steps, while
resizing a stack by dragging the window.



Any hint, on how to use the scale property of an object?



Thanks

Tiemo









_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to