diff --git a/MatterControlLib/ControlElements/MHTextEditWidget.cs b/MatterControlLib/ControlElements/MHTextEditWidget.cs index 2f44febd7..d4d3fdaeb 100644 --- a/MatterControlLib/ControlElements/MHTextEditWidget.cs +++ b/MatterControlLib/ControlElements/MHTextEditWidget.cs @@ -38,10 +38,9 @@ namespace MatterHackers.MatterControl public class MHTextEditWidget : GuiWidget { protected TextWidget noContentFieldDescription = null; - private ThemeConfig theme; + private readonly ThemeConfig theme; private bool mouseInBounds = false; - public MHTextEditWidget(string text, ThemeConfig theme, double pixelWidth = 0, double pixelHeight = 0, bool multiLine = false, int tabIndex = 0, string messageWhenEmptyAndNotSelected = "", TypeFace typeFace = null) { this.Padding = new BorderDouble(3); diff --git a/MatterControlLib/DesignTools/Attributes/EnumDisplayAttribute.cs b/MatterControlLib/DesignTools/Attributes/EnumDisplayAttribute.cs index 7c8174fbf..0c62512bd 100644 --- a/MatterControlLib/DesignTools/Attributes/EnumDisplayAttribute.cs +++ b/MatterControlLib/DesignTools/Attributes/EnumDisplayAttribute.cs @@ -36,13 +36,12 @@ namespace MatterHackers.MatterControl.DesignTools { public enum PresentationMode { - DropDownList, IconRow, Tabs, Buttons } - public PresentationMode Mode { get; set; } = PresentationMode.DropDownList; + public PresentationMode Mode { get; set; } = PresentationMode.IconRow; public EnumDisplayAttribute() {