Skip to content

The TreeView incorrectly scale on the high DPI devices #9881

@hmisaki

Description

@hmisaki

.NET version

.NET 6.0

Did it work in .NET Framework?

Yes

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

No

Issue description

The item text is cut inside the TreeView in high DPI.
See shortcut:
image
It works in .net framework 4.7 : (change the from net6.0-windows to net47)
image

The test code:
TreeViewSample.zip

Steps to reproduce

  1. Create a VB form App(net 6.0) and place a TreeView. Fill in some content, for example, the paths under "C:"
  2. build the project
  3. Set the DPI to 225%
  4. Run the app

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-HDPIHDPI, not specific to Dpi mode of app

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions