ButchersBoy / Dragablz

Dragable and tearable tab control for WPF
http://dragablz.net
MIT License
2.2k stars 323 forks source link

Tabablz control does not obtain theme 'base' from Material Design theme. #234

Open bh4017 opened 4 years ago

bh4017 commented 4 years ago

In the Material Design theme it is possible to set a light or a dark base.

This works perfectly in my applications, but I have discovered that the Tabablz control does not accept the base that is applied to the rest of the controls.

Initially it looks like it has, because the application itself accepts the dark base and the Tabablz control looks dark as well. But if you check the text that is displayed, it still displayed as black:

Image of dark base not applied

If you open the view in a completely new window, the full problem is made clear:

Image of dark base not applied

I am following the instructions for applying the material design theme to dragablz as shown here:

https://dragablz.net/2015/02/09/how-to-use-the-material-design-theme-with-dragablz-tab-controlgithub/

This link is specific to MahApps, which I am not using, but I think I got what is needed for a simple WPF application with Material Design and Dragablz. Here is the resources section in my app.xaml:

app.xaml code

Here is a link to a git repo where you can download the full project and see the behaviour for yourself:

https://bh4017@dev.azure.com/bh4017/TabbablzDoesNotAcquireBase/_git/TabbablzDoesNotAcquireBase