dotnet/winforms
[Dark Mode] Indeterminate CheckState icon barely visible
Geschlossen
#11.933 geöffnet am 20.08.2024
area-DarkModehelp wanted
Repository-Metriken
- Stars
- (4.100 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 14T 22h) (56 gemergte PRs in 30 T)
Beschreibung
.NET version
9.0.0-rc.1.24418.2 + build private dll from winforms repo main branch
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
This is a new feature Dark Mode: https://github.com/dotnet/winforms/pull/11857
Issue description
The indeterminate check state icon is barely visible in Dark Mode. Controls affected are ContextMenuStrip, MenuStrip, StatusStrip DropDownButton and ToolStrip DropDownButton
Dark Mode
Classic Mode
Steps to reproduce
- Create a WinForms project
- Add a ContextMenuStrip to the form
- Add a toolStripMenuItem to the ContextMenuStrip
- Change the property of the toolStripMenuItem as below
- Checked : True
- CheckState : Indeterminate
- Set form ContextMenuStrip property to contextMenuStrip1
- Run the project and observe the indeterminate Checkstate icon