Dyalog / ewc

Experiments with JavaScript-based GUI
MIT License
0 stars 2 forks source link

EWC forms display incorrectly when desktop scaling is enabled #50

Open dyavc opened 1 month ago

dyavc commented 1 month ago

EWC forms are truncated on the right hand side and I need to widen them by hand

Maybe it’s just my computer, but all the demo forms come up slightly short on the right, so I need to widen the form as things near the very right edge are truncated.

19.0.50074 64-bit Unicode on MS Windows 10

'.' ⎕wg 'devcaps' 1080 1920 194 344 ¯1 125

]link.create # d:/git/ewc

EWC.FOLDER←'d:\git\ewc\' demo.Run'Desktop'

EWCdemoformScreenshot

mkromberg commented 3 weeks ago

I can reproduce something similar by setting the Windows desktop scaling to something other than 100% AND checking "Enable DPI Scaling of the GUI Application" in the Dyalog configuration. Can you confirm your settings?

dyavc commented 3 weeks ago

Yes, My Windows desktop scaling is 125%. I have "Enable DPI Scaling of the interpreter and development environment" ticked, but not the "Enable DPI Scaling of the GUI Application".

Now, If I do tick "Enable DPI Scaling of the GUI Application", and have both ticked, I no longer have the issue, and the EWC demo forms are fine.