-
-
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 with Fluent theme does not update when changing theme mode #9410
Comments
See #7659 Also it was fixed in 11.0 I think https://github.com/AvaloniaUI/Avalonia/pull/8163/files |
Thanks, 11.0.0-preview3 works properly. |
@Sputnik24 I don't think it's the same issue. The appereance is similar, however now even the white background is there if you start with dark theme applied. If no issue for this is open, please open a new one. |
Not the same issue, but observable problem and workaround are the same. |
I can confirm that it was working fine without workaround in preview 4 (I havent used any earlier preview versions). In preview 5 its broken (again?). |
Describe the bug
When using a DataGrid in an application that uses Fluent theme, changing the theme mode from light to dark or vice versa does not update the grid theme.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The datagrid should change themes just like built-in controls.
Screenshots
Desktop (please complete the following information):
Additional context
Restarting the application and having the theme applied from the start works as expected.
I included the DataGrid fluent theme in my App.axaml:
The DataGrid control does not use custom styles or templates.
I'm changing the theme like this:
The text was updated successfully, but these errors were encountered: