-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
area-DarkModeIssues relating to Dark Mode featureIssues relating to Dark Mode feature
Description
.NET version
.NET 10 SDK build: 10.0.100-preview.7.25380.105
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Yes, occurs after the PR change: #13747
Issue description
The dropdown arrow in the PropertyGrid control appears abnormally large when Dark Mode is enabled and the system is set to 100% DPI scaling. The issue does not occur in Classic Mode
Dark Mode on 100%DPI:

Dark Mode on 250%DPI:

Classic Mode on 100%DPI:

Classic Mode on 250%DPI:

Steps to reproduce
- Create Winforms .NET application with targeting .NET 10
- Add a PropertyGrid control in form designer
- Set the SelectedObject property to Form in propertyGrid1's properties
- Set app under Dark mode in program.cs file:
#pragma warning disable WFO5001
Application.SetColorMode(SystemColorMode.Dark);
#pragma warning restore WFO5001
- Build and run project
- Observe any property with DropDownButton in PropertyGrid
Metadata
Metadata
Assignees
Labels
area-DarkModeIssues relating to Dark Mode featureIssues relating to Dark Mode feature