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
645
Layout problem with windows DPI setting?
posted

Hello all,

the windows forms application runs on Windows XP with Infragistics v. 8.1 (HotFix installed)

If the window display DPI setting sets lower (e.g. 75%) or higher (120 dpi),

then button and textbox of the application lost borders or frames...

very strange, any suggestions?

Thanks in advance.

 

  • 469350
    Verified Answer
    Offline posted

    I beleive that Forms in DotNet are set up to scale based on the system font by default. This has nothing to do with the Infragistics controls, it's just that way DotNet forms work in order to provide device independence.

    So you probably need to check out Microsoft's documentation and best practices for how to set up your form so that things don't get overlapped. Check out the form's ScaleMode property as a good starting point.