Gen GUI application Window does not scale properly
search cancel

Gen GUI application Window does not scale properly

book

Article ID: 217038

calendar_today

Updated On:

Products

Gen

Issue/Introduction

A Gen GUI client using font Calibri 12pt on fields, prompts, and literals does not scale properly when the Windows Display settings for 'Scale and layout' is greater than 100%. The fields, prompts, and literals with that font appear cropped and do not rescale properly.

Environment

Gen 8.6 under Windows 10

Resolution

A user modification made their own version of the DBMS Stub and the manifest file which was automatically built by Visual Studio contained the following entry.

“<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>

The value "true” caused the problem. After removing this entry and rebuild of the DBMS Stub the scaling works as expected.