screenloc not actually centered after changing scalefactor (was Screen Resolution for Desktop Apps)

J. Landman Gay jacque at hyperactivesw.com
Thu Dec 28 15:54:49 EST 2017


On 12/27/17 9:19 PM, Nicolas Cueto via use-livecode wrote:
> Problem is, after opening the standalone on different PCs the rescaling
> fits the monitor, but the window is not centered despite the "set the loc
> to screenloc" command.

It looks like the stack loc is being calculated at scalefactor 1, 
regardless of the actual scalefactor of the stack. You may have to do 
some calculations based on the scalefactor, in order to adjust the 
visual location.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list