diff --git a/MatterControlLib/PartPreviewWindow/ViewControls3D.cs b/MatterControlLib/PartPreviewWindow/ViewControls3D.cs index 0536fbd14..94b7ad67c 100644 --- a/MatterControlLib/PartPreviewWindow/ViewControls3D.cs +++ b/MatterControlLib/PartPreviewWindow/ViewControls3D.cs @@ -643,12 +643,11 @@ namespace MatterHackers.MatterControl.PartPreviewWindow OpenColor = openColor, DrawArrow = true, Margin = theme.ButtonSpacing, - PopupBorderColor = Color.Transparent + PopupBorderColor = Color.Transparent, + PopupHAnchor = HAnchor.Fit, + PopupVAnchor = VAnchor.Fit }; - libraryPopup.PopupHAnchor = HAnchor.Fit; - libraryPopup.PopupVAnchor = VAnchor.Fit; - return libraryPopup; }