Dragablz icon indicating copy to clipboard operation
Dragablz copied to clipboard

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

Open bh4017 opened this issue 5 years ago • 0 comments

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://[email protected]/bh4017/TabbablzDoesNotAcquireBase/_git/TabbablzDoesNotAcquireBase

bh4017 avatar Dec 18 '19 12:12 bh4017