Skip to content

Anchored controls layout is broken if Container has visible scrollbars #8090

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

Applications running in PermonitorV2 mode and has scroll bars visible, anchoring child controls results in incorrect layout when moved to different monitor. Following image shows the issue in detail:

scenario: Application moved from 100% monitor to 300% monitor.
Actual:
image

Expected:
image

Steps to reproduce

  • Create a PMv2 app with anchored controls as shown in images above.
  • Run the app on a dual monitor setup with 100% and 300% scaling on them.
  • Move application from one monitor to the other.

Metadata

Metadata

Assignees

Labels

area-Anchor/ScalingHDPI issues around anchoring and dockingarea-HDPI-PMv2Issues related to high DPI PerMonitorV2 mode

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions