Page 1 of 1

Display Scaling

Posted: Wed Jun 12, 2019 7:02 am
by DLockwood
Hello all,

I have been struggling with Sapien forms. I was finding that forms developed were not rendered correctly when used on other systems. I spent too long looking at suggested solutions on this forum and the wider web, most were suggesting the same solutions, TableLayouts and AutoScale properties. None of which were addressing my issue.

Eventually, I found the solution for myself...

The problem is caused by scaling of the actual Sapient Studio GUI Editor and not with the deployed application. I set the compatibility mode, high DPI settings, to override high DPI scaling performed by System (Enhanced) on the Powershell Sudio.exe. Now I can edit my forms and what I see in Sapien is what I actually get on my output.

Hope this helps someone.

Re: Display Scaling

Posted: Wed Jun 12, 2019 7:10 am
by Alexander Riedel
It's actually Microsoft Windows Forms and yes, it is always a struggle to develop user interfaces that work on multiple resolutions, magnification factors and display sizes.
Unfortunately that is not an issue limited to Windows Forms or PowerShell Studio. Maybe you can share a screenshot of your settings, that will make it easier for users to understand what you used.