winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Visual Inconsistency in MS Form While Zooming in the resolution 150%

Open vimalrajsf5014 opened this issue 2 months ago • 1 comments

Description

When running a basic Windows Forms application on a display with 125% or 150% DPI scaling, the form's border renders as three horizontal lines of varying thickness. This creates a visual inconsistency and makes it difficult to identify the actual form boundary.

Screenshots

  • 150% Scaling:
Image Image
  • 125% Scaling:
Image Image

Steps to Reproduce

1.Create a basic WinForms application (no custom styling or overrides).

2.Run the app on a display with 125% or 150% DPI scaling.

3.Observe the top border of the form.

4.For exaggerated results, test with 500% scaling.

Actual Behavior

  • The top border appears as three horizontal lines:

    • First line: light and thin
    • Second line: noticeably thicker
    • Third line: thickest
  • This layered rendering causes confusion about the true form boundary.

Expected Behavior

The form border should render as a single, solid line, regardless of DPI scaling.

Questions

  • Is this a known rendering issue in WinForms on high DPI displays?

  • Does it impact usability or accessibility?

  • Are there any recommended workarounds or fixes?

Environment

.NET Framework / .NET - .NET Framework Windows Version - 11 Display Scaling - 125%, 150%, 500% (test) Custom Styling - None Additional Notes No custom drawing or styling is applied.

Issue persists across multiple scaling levels.

vimalrajsf5014 avatar Oct 21 '25 14:10 vimalrajsf5014

Hi Team, any updates on this issue?

vimalrajsf5014 avatar Nov 03 '25 05:11 vimalrajsf5014