Page 1 of 1

Disable scaling?

Posted: Wed Dec 10, 2025 8:57 am
by richmond62
So, back from a conference with various Profs re my PISMO thing, and BIG problems caused by one of the most banal things.

ALL of those Profs are running Windows 10 or 11 on laptops . . .

. . . and their screen resolutions are described as 1920 × 1080 pixels, but the PISMO standalone (which is set at 1280 × 960):

1. Loads the "Your screen res is too small" warning image (poss. due to Windows screen furniture).

2. Cuts off the top 10% and the bottom 10% of the stack.

3. Width is NOT a problem.

It seems that the App scales, and because my app cards are not the exact proportions of the laptops screen rects the thing is being both decapitated and castrated.

For Windows builds: this is supposed to turn HiDPI mode off:

Code: Select all

set the cRevStandaloneSettings["Windows,usePixelScaling"] of stack (the cRevTargetStack of stack "revStandaloneSettings") to false
But the standalone builder imposes HiDPI mode regardless . . .

Is there some way to permanently disable HiDPI scaling in the standalone builder?

Re: Disable scaling?

Posted: Wed Dec 10, 2025 9:04 am
by richmond62
SS 2025-12-10 at 10.01.45.png
-
Unchecking this seems to do no good at all.

Re: Disable scaling?

Posted: Fri Dec 12, 2025 9:49 pm
by stam
It's probably not a matter of Hi-DPI.

Windows laptops have an annoying setting called 'magnification' - available in the "Display" control panel and independent of 'resolution'.
On large external screens it defaults to 100%, but on small laptop screens it can be anywhere between 150% and 300%.

This means that even though the screen resolution is set at for example 1920 x 1080 you may end up with an effective resolution of 800 x 600 or less.
You could get the users to manually lower the magnification (not resolution) but then often other windows apps don't cope well.
Quite why Windows has both a resolution and a magnification setting I can't quite explain - Macs seem to do just with resolution alone.

Unless all laptops used are the same screen size you can't predict this, and should consider changing your app to one with a responsive layout so that elements of card resize/reposition based on window size, to always fit. Easiest to set up a layout for the smallest size that works (which you can lock in the stack so it can't get smaller) and then organise a process of how to move/resize controls as the window size increases - if you have older version of LC that means either scripting it (solid but a lot of work) or using geometry manager (easy but can be 'quirky'). Or use a fullscreen mode but that can unintended effects (eg text too small to read).

Re: Disable scaling?

Posted: Sat Dec 13, 2025 3:45 am
by richmond62
Thank you for a fully comprehensive answer.