Open GuidoReith opened 3 years ago
Ok I Will take a look on this.
Did you try to load the dark mode resources like this:
// Dark Theme Mode
DarkThemeManager.get()
.register(new CoreDarkThemeLoader())
.register(new TableDarkThemeLoader())
.register(new AddinsDarkThemeLoader())
.load();
Yes i did, you see it in the code DarkThemeManager.get().register(new CoreDarkThemeLoader()).register(new TableDarkThemeLoader()).load();
Do i make something wrong or is it a bug?
Ill try to reproduce tge issue
On Tue, Mar 23, 2021, 12:06 AM GuidoReith, @.***> wrote:
Do i make something wrong or is it a bug?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GwtMaterialDesign/gwt-material/issues/1002#issuecomment-804190063, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAX6EF4VYLMH2JGQKZNN2CTTE5TH3ANCNFSM4ZIKAS7A .
In Windows 10 preferences setting color to dark. Starting an app the dark mode is true. Changing the dark mode in the app the style of tables is broken. When setting color to light in windows preferences and than start the app everything work like expected. Example: Start with windows color dark:
Klick on MaterialDarkModeToggle:
Example: Start with windows color light:
Klick on MaterialDarkModeToggle:
It seems that the style.css of the gwt-material-table.jar is not loaded, for example the style .tool-panel { float: right; }
Testenvironment: gwt 2.9.0 gwt-material 2.4.2
Demo-Code (add class to root panel)
public class DataTableTestView extends Composite {