Caller specified pointSize for DropDownLists
This commit is contained in:
parent
98aee75b26
commit
13cc147dfe
20 changed files with 57 additions and 54 deletions
|
|
@ -43,7 +43,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
|
||||
public override void Initialize(int tabIndex)
|
||||
{
|
||||
dropdownList = new DropDownList("None".Localize(), ActiveTheme.Instance.PrimaryTextColor, maxHeight: 200)
|
||||
var theme = ApplicationController.Instance.Theme;
|
||||
dropdownList = new DropDownList("None".Localize(), theme.Colors.PrimaryTextColor, maxHeight: 200, pointSize: theme.DefaultFontSize)
|
||||
{
|
||||
ToolTipText = this.HelpText,
|
||||
TabIndex = tabIndex,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue