Use theme default font size

This commit is contained in:
John Lewin 2018-01-12 14:05:04 -08:00
parent 13cc147dfe
commit 1a91cbc5c8
8 changed files with 23 additions and 17 deletions

View file

@ -109,7 +109,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
Margin = new BorderDouble(top: 8),
VAnchor = VAnchor.Stretch,
HAnchor = HAnchor.Stretch,
MinimumSize = new Vector2(200, 200)
MinimumSize = new Vector2(200, 200),
};
primaryTabControl.TabBar.BackgroundColor = theme.ActiveTabBarBackground;
@ -130,7 +130,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
primaryTabControl,
content,
theme,
hasClose: false)
hasClose: false,
pointSize: theme.DefaultFontSize)
{
Name = category.Name + " Tab",
InactiveTabColor = Color.Transparent,