Reduce font sizes, remove caps from preset labels
This commit is contained in:
parent
d6a54f880b
commit
0de97fe0bf
5 changed files with 13 additions and 7 deletions
|
|
@ -86,7 +86,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
};
|
||||
|
||||
// Section Label
|
||||
this.AddChild(new TextWidget(label.Localize().ToUpper())
|
||||
this.AddChild(new TextWidget(label.Localize())
|
||||
{
|
||||
TextColor = whiteBackground ? Color.Black : ActiveTheme.Instance.PrimaryTextColor,
|
||||
HAnchor = HAnchor.Left,
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
},
|
||||
presetsContext.LayerType);
|
||||
|
||||
return new SliceSettingsWidget(printer, settingsContext)
|
||||
return new SliceSettingsWidget(printer, settingsContext, ApplicationController.Instance.Theme)
|
||||
{
|
||||
ShowControlBar = false
|
||||
};
|
||||
|
|
|
|||
|
|
@ -50,9 +50,12 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
|
||||
private EventHandler unregisterEvents;
|
||||
|
||||
public SliceSettingsWidget(PrinterConfig printer, SettingsContext settingsContext)
|
||||
private ThemeConfig theme;
|
||||
|
||||
public SliceSettingsWidget(PrinterConfig printer, SettingsContext settingsContext, ThemeConfig theme)
|
||||
: base (FlowDirection.TopToBottom)
|
||||
{
|
||||
this.theme = theme;
|
||||
this.printer = printer;
|
||||
this.BackgroundColor = ApplicationController.Instance.Theme.TabBodyBackground;
|
||||
|
||||
|
|
@ -114,7 +117,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
primaryTabControl.AddTab(new TextTab(
|
||||
categoryPage,
|
||||
category.Name + " Tab",
|
||||
14,
|
||||
theme.DefaultFontSize,
|
||||
ActiveTheme.Instance.TabLabelSelected,
|
||||
new Color(),
|
||||
ActiveTheme.Instance.TabLabelUnselected,
|
||||
|
|
@ -257,7 +260,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
var groupTabWidget = new TextTab(
|
||||
groupTabPage,
|
||||
group.Name + " Tab",
|
||||
14,
|
||||
theme.DefaultFontSize,
|
||||
ActiveTheme.Instance.TabLabelSelected,
|
||||
ActiveTheme.Instance.TertiaryBackgroundColor,
|
||||
ActiveTheme.Instance.TabLabelUnselected,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue