-
Notifications
You must be signed in to change notification settings - Fork 36
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
Dark Theme #2
Comments
I finally installed VS 2022 Community and got my first debug build working, so I'm going to try to take a look at this. As you said, this is a big codebase, and I'm still learning where everything is, but I've identified where the settings are and where the colors are being set. Now to find how the two might connect… Would you want a predefined Dark Mode, or are you looking to support some user customization? Right now, I'm thinking we add a checkbox to the settings and set defaults in |
Let em give you some pointers for having check a little bit and the problem I see with this. If you start with the So you can go into Problem arroses with the TabBar, i've googled a little bit and it seems it is not possible to set the color on this control. We will have to probably create a TabBar that inherits the original and override the Then there are the Forms, I would do something similar. Just create our own Form that we can set the color at this one place and not all over the place. I believe that a DarkForm already exists somewhere on the net when I checked years ago. Problem I see with this is trying to not have to add hundreds of check all over the place to set the Dark Mode. We should keep them in the least possible places for easier editing. Maybe even just create our own I saw online ideas of going through the At that point I would settle with just a checkbox in the drop-down menu like Enable Dark Mode. If we do change the color that would be set in the |
I've found an elegant solution to the dark mode, this will probably be temporary though. So I don't know if there is any point pushing further. The solution is based on this: https://github-com.translate.goog/NikolayXHD/Mtgdb/wiki/.NET-WinForms-easy-color-scheme?_x_tr_sl=auto&_x_tr_tl=en-US The reason it is temporary is that:
So I will probably just wait for the release with .NET 9 and in the mean time work on migrating to .NET. Most projects seem to like they are waiting for that. My current WIP based on replacing the You use it by starting with
|
.NET 9 Finally has experimental Dark Mode support for winforms. |
Here is a placeholder for work on a Dark Theme.
Is it even possible with Winforms?
The text was updated successfully, but these errors were encountered: