Page 1 of 1

GUI too large with different resolution

Posted: 16 Sep 2015, 12:41
by Heezea
Hey guys I wrote a GUI script that I designed on a 1680x1050 resolution that fit the screen perfectly. Now, on a new PC, I'm using it on a 1920x1080 resolution and the GUI is too big for my screen. However, when I change to a 1680x1050 resolution, the GUI doesn't shrink down to fit, it stays oversized. Testing on a different system with native 1680x1050 resolution, the GUI fits perfectly. This leads me to believe it's some issue with my new PC, but I have no idea what to look for. Does anyone have any thoughts on this?

Re: GUI too large with different resolution

Posted: 16 Sep 2015, 14:30
by trismarck
It's because of Windows DPI settings. Autohotkey has DPIScale that rescales sizes of controls/the window.

Re: GUI too large with different resolution

Posted: 16 Sep 2015, 16:35
by Heezea
trismarck, thank you so much! I'm very grateful for your help; wasted a lot of time on this for such an easy fix.
Went to: Control Panel\Appearance and Personalization\Display > Smaller - 100% (was set to Medium - 125%)