diff --git a/PartPreviewWindow/ViewGcodeBasic.cs b/PartPreviewWindow/ViewGcodeBasic.cs index 3265d1a7a..80273b290 100644 --- a/PartPreviewWindow/ViewGcodeBasic.cs +++ b/PartPreviewWindow/ViewGcodeBasic.cs @@ -624,16 +624,15 @@ namespace MatterHackers.MatterControl.PartPreviewWindow { gcodeViewWidget.SimulateExtrusion = simulateExtrusion.Checked; }; + layerInfoContainer.AddChild(simulateExtrusion); } // put in a render extrusion transparent checkbox { - CheckBox transparentExtrusion = new CheckBox(LocalizedString.Get("Transparent"), textColor: ActiveTheme.Instance.PrimaryTextColor) - { - Checked = gcodeViewWidget.TransparentExtrusion, - Margin = new BorderDouble(5, 0, 0, 0) * TextWidget.GlobalPointSizeScaleRatio, - HAnchor = HAnchor.ParentLeft, + CheckBox transparentExtrusion = new CheckBox(LocalizedString.Get("Transparent"), textColor: ActiveTheme.Instance.PrimaryTextColor) + { + Checked = gcodeViewWidget.TransparentExtrusion, }; transparentExtrusion.CheckedStateChanged += (sender, e) =>