Expose controls for conditional Enable

This commit is contained in:
John Lewin 2017-11-29 13:45:01 -08:00
parent a8ce44f7a3
commit 5b1fec7144
3 changed files with 5 additions and 3 deletions

View file

@ -56,6 +56,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private SliceLayerSelector layerScrollbar;
internal PrinterConfig printer;
internal GCode3DWidget gcode3DWidget;
internal PrinterActionsBar printerActionsBar;
public PrinterTabPage(PrinterConfig printer, ThemeConfig theme, string tabTitle)
: base(printer, printer.Bed, theme, tabTitle)
@ -172,7 +173,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
SetSliderSizes();
};
var printerActionsBar = new PrinterActionsBar(printer, this, theme)
printerActionsBar = new PrinterActionsBar(printer, this, theme)
{
Padding = new BorderDouble(0, theme.ToolbarPadding.Top, theme.ToolbarPadding.Right, theme.ToolbarPadding.Top)
};