-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
DataGrid - Fix remaining theme colors #3564
Conversation
@Symbai I've just noticed that #3530 causes a problem: the row highlight color is now the same as the I think we need to choose a different color for the row highlight, could we do that in this PR? Here's the above operation using Other than that, PR looks good! |
@grokys Nice catch. Using LightDarkHow about Light:Dark: |
Can't we change the background of the TextBox so it does not have the same color as the selected row? |
@Gillibald Generally we should consider adding background colors to many controls as currently many controls have a transparent background, causing the issue above (different behavior to WPF and causes issues when controls are placed on a custom background. I wanted to make a PR someday later about). In WPF the textbox in DataGrid has a background which is not transparent, matching with your suggestion. If this is what we want to do, I would undo the change in this PR and make a new PR setting background colors to several controls. |
Hmm yeah maybe that would be better, if that's what WPF does. If that's the case 👍 to reverting the change there. |
This reverts commit 863b0da.
Done |
What does the pull request do?
Replace remaining hardcoded brushes with theme brushes. I had to use similar theme brush values because the hardcoded brush values don't exist in theme resource dictionary.
Before Light
After Light
Before Dark
After Dark