Skip to content

[HDPI] Cursor editor some items are not displayed in propertyGrid with special DPI settings #14167

Description

@Zheng-Li01

.NET version

.NET SDK 11.0.100-alpha.1.25619.109

Did it work in .NET Framework?

No

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

In the .NET 10.0 & .NET 9.0, the Cursor editor in propertyGrid is not scaled well in all HDPI settings, tracked by 9007

Issue description

Cursor editor some items in propertyGrid are not displayed with special DPI, such as 125%, 175%, 225%, 250%; not reproduce on 150%, 200%, 300% DPI setting.

Image
HDPI.mp4

Steps to reproduce

  1. Create .NET winforms project with a PropertyGrid control
  2. Select the Form1 as object for the propertyGrid1.
  3. Run the project, and expand the cursor editor panel
  4. Scroll to last items to observe

More info:
The items displayed well after click it in the cursor editor panel

Activity

  1. added
    untriaged
    area-HDPI
    on Dec 24, 2025
  2. SimonZhao888 commented on Dec 25, 2025

    @SimonZhao888
    Member

    The main reason for this problem is that at resolutions of 125%, 175%, 225%, and 250%, the width of icons such as HSplit is larger than that of other icons, which causes the cursor list to display abnormally.

    Image
  3. removed
    untriaged
    on Jan 8, 2026
  4. Amy-Li03 commented on Sep 4, 2026

    @Amy-Li03
    Contributor

    Tested in the latest .NET 11 RC2 build: 11.0.100-rc.2.26453.107 + built private dls from the main branch of WinForms repo, it was not fixed well.
    With certain DPI settings (such as 125%, 175%, and 225%), the icons above some items in the propertyGrid are shifted toward the lower-right corner.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-HDPI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions