Fixing theme on added system windows

This commit is contained in:
Lars Brubaker 2020-10-20 16:23:54 -07:00
parent d0b7795bf3
commit bd13ec03c2
3 changed files with 18 additions and 2 deletions

View file

@ -1211,6 +1211,15 @@ namespace MatterHackers.MatterControl
this.IsReloading = true;
var theme = ApplicationController.Instance.Theme;
SingleWindowProvider.SetWindowTheme(theme.TextColor,
theme.DefaultFontSize - 1,
theme.InvertIcons,
() => theme.CreateSmallResetButton(),
theme.ToolbarPadding,
theme.TabBarBackground,
new Color(theme.PrimaryAccentColor, 175));
reloadingOverlay = new GuiWidget
{
HAnchor = HAnchor.Stretch,