-
Notifications
You must be signed in to change notification settings - Fork 1k
[Dark Mode] Button with FlatStyle 'Standard' is not in dark mode on 100% dpi after enabled SystemColorMode.Dark #11949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
area-DarkMode
Issues relating to Dark Mode feature
tenet-accessibility
MAS violation, UIA issue; problems with accessibility standards
Milestone
Comments
A fix for this (and similar) issues is to set the back color when loading the form In the (base) form constructor
|
Just my 2 cents:
"System.Windows.Forms.FlatStyle.Popup" --> ok colors, ok image All with "Popup": Angelo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-DarkMode
Issues relating to Dark Mode feature
tenet-accessibility
MAS violation, UIA issue; problems with accessibility standards
.NET version
9.0.0-rc.1.24418.2 + private dlls built from winforms repo main branch
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
This is a new feature Dark Mode: #11857
Issue description
On 100% DPI, Button with FlatStyle 'Standard' is not in dark mode after enabled SystemColorMode.Dark, it cannot repro when monitor's dpi is greater than 100%.
on 100%DPI:

on 150%DPI:

Steps to reproduce
The text was updated successfully, but these errors were encountered: