Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
Problem with high DPI / Scaling
posted

Hello,

I am using Infragistics 23.1 in my application. The app has a layout problem when the dpi / scaling of the monitor is changed from 100% to higher (125% or 150%). All the controls look bad-sized and the app is almost unusable.

Here is an example

In my app.manifest, I've added the following lines

<asmv3:application>
<asmv3:windowsSettings>
<dpiAware xmlns="">schemas.microsoft.com/.../dpiAware>
<dpiAwareness xmlns="">schemas.microsoft.com/.../dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>

I have tried to set the MaxInfragisticsDpiAwareness to all possible values, like this

Infragistics.Win.DpiUtilities.MaxInfragisticsDpiAwareness = Infragistics.Win.InfragisticsDpiAwareness.SystemDpiAware

But with no luck

Do you have any idea on how to solve the issue?

Thanks,

Claudio Di Flumeri

Parents
No Data
Reply
  • 7615
    Offline posted

    Hello Claudio,

    May i know which framework version you are using ? 

    Try using this code in the app.config file :

    <System.Windows.Forms.ApplicationConfigurationSection>
      <add key="DpiAwareness" value="PerMonitorV2" />
    </System.Windows.Forms.ApplicationConfigurationSection>

    Here is our online help document for the reference :

    https://www.infragistics.com/help/winforms/dpi-scaling-support

    This should help , if not then i am sure its something related to your environment. 

    Which OS do you have? Are you connected the machine with VPN ?

    Provide more information about your environment.

Children