Skip to content

Controls on the Form are truncated on high dpi machines. #8089

Closed

Description

@dreddy-work

.NET version

.NET 8.0

Did it work in .NET Framework?

No

Did it work in any of the earlier releases of .NET Core or .NET 5+?

NO

Issue description

In PermonitorV2 mode application, child controls placed on the Form, close to border are cut when moved from one monitor to the other with different DPI scaling. It is more evident in anchored controls.

Steps to reproduce

  • Create a simple Form with child controls placed around the border as shown in below pic.
  • Set application Dpi mode to PermonitorV2 mode. And run application on a dual monitor with settings 300% primary and 100% secondary.

Actual:
image

Expected:
image

Activity

  1. added
    area-Anchor/Scaling
    area-HDPI-PMv2
    on Nov 1, 2022
  2. self-assigned this
    on Nov 1, 2022
  3. Ashley-Li commented on Nov 4, 2022

    @Ashley-Li

    Verified this on .NET 8.0 latest build: 8.0.100-alpha.1.22553.10, issue was fixed. Now the margin values are work in these buttons.
    image

  4. ghost locked as resolved and limited conversation to collaborators on Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-Anchor/Scalingarea-HDPI-PMv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions