Om Nom
5 discussion posts
Hey,
I'm trying to automatically position a window on a monitor that is the resolution (3200x1800) with scaling at 200%, however the text size and buttons become completely messed up when doing so. On my other monitor (1920x1080) the text and buttons with that monitors scaling settings (100%) it works as you would expect. Also if I drag the window onto the 3200x1800 monitor the scaling is automatically applied correctly when the whole window is on that monitor. When I say the scaling is applied correctly - the buttons are the correct size along with the text within them. Also the size of the window also correctly scales to that monitor meaning effectively the window is covering the same percentage of the window as it would on the 1080p monitor.
My question is then, is there a way to force an application to take the monitors scaling settings it is located on like how it is forced when you drag the window onto the other monitor?
Some sort of script I can run or something?
Currently I have a function that sets the size to the correct size it should be on the 3200x1800 monitor - outcome: text and buttons messed up.
Another function I tried was setting it to the size on the 1080p and then setting it to move to the other monitor - outcome: doesn't force the scaling so the text and buttons are messed up along with the rest of the application being very small.
I hope I haven't just made this all very confusing.
I have added screenshots of what I'm trying to explain.
Thanks in advance
• Attachment [protected]: display.zip [1,072,285 bytes]
If you just use Ctrl + Win + X to move it to the next monitor, does it re-scale properly?
Om Nom
5 discussion posts
Hi, thanks for the response.
No it does not scale correctly when using Ctrl + Win + X
Om Nom
5 discussion posts
I have attached the text file as requested
• Attachment [protected]: troubleshooting.txt [86,357 bytes]
Thanks! Could you also send me a screenshot of the function you've created for moving the window?
Om Nom
5 discussion posts
I have attached the screenshot of the function as requested.
• Attachment [protected]: function.png [58,927 bytes]