scaleFactor

Peter Bogdanoff bogdanoff at me.com
Wed Aug 15 19:11:21 EDT 2018


I too am using scaleFactor and ran into this issue of the difficulty of windows moving around and even off screen. It seems that when scaleFactor is invoked the entire screen is now virtual and calculations have to be made to position the window where you want it to be visually. Unfortunately, those exact calculations were beyond me at the time I implemented scaleFactor, so my windows do still move somewhat. But if someone else has a method/formula for window placement I too would be interested.

Peter Bogdanoff
ArtsInteractive


> On Aug 15, 2018, at 3:02 PM, Knapp Martin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I know that scaleFactor is not intended to be a "zoom view" feature for desktop, but in lieu of actually having zoom views, I really need to use it to allow the user to enlarge or reduce the window size for a Mac and Windows app I’m working on. What I would like is for it to shrink or grow from the topLeft point on the screen but I can't seem to figure out a way to keep it from jumping around. I would like to have scaleFactors from .5 to 1.5. Anybody tackled this one?
> 
> Thanks,
> Marty
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list