-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
fix some dark mode controls #450
Conversation
The changes you need also be done on NanaZip.UI.Modern which is the modern flavor of NanaZip. Kenji Mouri |
Have you tested switching light and dark mode at runtime? Kenji Mouri |
wait my bad i didnt add to modern and theres a lot of issues with this implementation |
yep works |
OK. I also have a suggestion. Maybe you can move listview, toolbar, and statusbar workaround into "NanaZip.Frieren/NanaZip.Frieren.DarkMode.cpp". Because it can apply to all GUI components which uses the legacy UI controls. Also can simplify the implementation. Kenji Mouri |
MileAllowDarkModeForApp should continue to be used because I had done the shim for better compatibility. Kenji Mouri |
oh i see, i thought it just called AllowDarkModeForApp. my bad |
@rounk-ctrl NanaZip has introduced several wrappers for simplifying the old Windows version compatibility implementation. Also, I have fixed the tab control theming issue when using the dark and light mode switch dynamically after merging your PR. Kenji Mouri |
@MouriNaruto btw do not use WS_EX_COMPOSITED with listview. It breaks it |
Got it. Kenji Mouri |
The Up button is still unfixed. I would prefer to turn off dark mode altogether. |
some of the dark mode controls look really bad
buttons, combobox, edit
smooth listview
no more black artifacts
statusbar
no more artifacts
toolbar (for classic)
no more artifacts