Add theme driven MHDropDownList

This commit is contained in:
John Lewin 2018-10-17 20:31:31 -07:00
parent 1ec24789c7
commit 4433abb774
15 changed files with 116 additions and 35 deletions

View file

@ -71,10 +71,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
}
}
dropDownList = new DropDownList("Name".Localize(), theme.Colors.PrimaryTextColor, Direction.Down, pointSize: theme.DefaultFontSize)
{
BorderColor = theme.DropListFieldBorder
};
dropDownList = new MHDropDownList("Name".Localize(), theme);
var orderedItems = names.OrderBy(n => n.value);