Simplify and refocus OverflowMenuButton implementation

This commit is contained in:
John Lewin 2018-01-21 11:44:07 -08:00
parent 74fbe8a5e3
commit da90023375
4 changed files with 18 additions and 27 deletions

View file

@ -199,7 +199,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
private EventHandler unregisterEvents;
public SliceSettingsTabView(SettingsContext settingsContext, PrinterConfig printer, string UserLevel, ThemeConfig theme, bool isPrimarySettingsView, string databaseMRUKey)
: base(new SliceSettingsOverflowMenu(printer))
: base(new SliceSettingsOverflowMenu(printer, theme)
{
this.VAnchor = VAnchor.Stretch;
this.HAnchor = HAnchor.Stretch;