Fixe error with icon list

This commit is contained in:
Lars Brubaker 2020-05-18 18:00:42 -07:00
parent 49b4038b21
commit 3fd9ed31c3
2 changed files with 2 additions and 4 deletions

View file

@ -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);

View file

@ -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()
{