Move theme.Colors.PrimaryTextColor into theme, remove unneeded types
- Issue MatterHackers/MCCentral#4490
This commit is contained in:
parent
c279f8a511
commit
8d4974dc32
103 changed files with 245 additions and 426 deletions
|
|
@ -67,7 +67,7 @@ namespace MatterHackers.MatterControl
|
|||
Selectable = false
|
||||
});
|
||||
|
||||
row.AddChild(new TextWidget(ApplicationController.Instance.ShortProductName, textColor: theme.Colors.PrimaryTextColor)
|
||||
row.AddChild(new TextWidget(ApplicationController.Instance.ShortProductName, textColor: theme.TextColor)
|
||||
{
|
||||
VAnchor = VAnchor.Center
|
||||
});
|
||||
|
|
@ -146,7 +146,7 @@ namespace MatterHackers.MatterControl
|
|||
VAnchor = VAnchor.Fit,
|
||||
};
|
||||
|
||||
themeRow.AddChild(new TextWidget("Theme".Localize(), pointSize: menuTheme.DefaultFontSize, textColor: menuTheme.Colors.PrimaryTextColor)
|
||||
themeRow.AddChild(new TextWidget("Theme".Localize(), pointSize: menuTheme.DefaultFontSize, textColor: menuTheme.TextColor)
|
||||
{
|
||||
VAnchor = VAnchor.Center,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue