I have a program that displays four Editor gadgets across my screen. The size of the gadgets is determined by using ExamineDesktops with
DesktopX(0), DesktopWidth(0) and DesktopHeight(0). I then calculate the size and position for each gadget using these values. On my desktop PC and my laptop, both running Windows 10 Pro, it works as expected. When I run it on another, newer, laptop (Windows 11) with a wider screen the gadgets are so much larger that I can see only about 1 and 1/2 gadgets.
Any ideas on what I need to do to fix this?
[Solved] gadget size
[Solved] gadget size
Last edited by k3pto on Sat Jan 18, 2025 10:55 pm, edited 1 time in total.
Re: gadget size
Have you scaling your desktop on the newer laptop ? I think there is a 125% or 150% scale ....
Re: gadget size
Hi Bisonte,
Thank you for the reply. How do I scale it and how do I detect that it needs scaling?
Thank you for the reply. How do I scale it and how do I detect that it needs scaling?
Re: gadget size
See help file, especially DesktopScaled/DesktopUnscaled/DesktopResolution
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: gadget size - Solved
Thank you Bisonte and HeXOR. I was not aware of the scaling functions - so many features to read about!