Help needed with scaleFactor and scaling

Colin Holgate colinholgate at
Sat Feb 18 13:29:41 EST 2017

This seems to work (to make button 1 appear to be 100 pixels from the top and left, and to appear to be 200 wide and 150 tall):

on fixit
   put random(10)/10 + 1 into it
   set the scalefactor of this stack to it
   set the rect of btn 1 to 100/it,100/it,100/it+100/it,100/it+50/it
end fixit

More information about the use-livecode mailing list