making default window better

This commit is contained in:
Lars Brubaker 2023-03-21 18:29:24 -07:00
parent ea6ced10d1
commit 3946b8fa20
6 changed files with 45 additions and 89 deletions

View file

@ -300,12 +300,7 @@ namespace MatterHackers.MatterControl
var rootSystemWindow = Application.LoadRootWindow(width, height);
var theme = ApplicationController.Instance.Theme;
SingleWindowProvider.SetWindowTheme(theme.TextColor,
theme.DefaultFontSize - 1,
() => theme.CreateSmallResetButton(),
theme.ToolbarPadding,
theme.TabBarBackground,
new Color(theme.PrimaryAccentColor, 175));
SingleWindowProvider.SetWindowTheme(theme);
ApplicationController.Instance.KeepAwake = KeepAwake;