Fix and update SliceSetting field identifiers

This commit is contained in:
John Lewin 2017-09-14 14:47:08 -07:00
parent cebc48ba3b
commit c2b2175168
5 changed files with 19 additions and 14 deletions

View file

@ -41,9 +41,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
{
checkBoxWidget = new CheckBox("")
{
//Name = settingData.PresentationName + " Checkbox",
//ToolTipText = settingData.HelpText,
VAnchor = VAnchor.Bottom,
Name = this.Name,
TextColor = ActiveTheme.Instance.PrimaryTextColor,
Checked = this.Value == "1"
};
@ -73,6 +72,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
{
checkBoxWidget = ImageButtonFactory.CreateToggleSwitch(false, ActiveTheme.Instance.PrimaryTextColor, useStandardLabels: false);
checkBoxWidget.VAnchor = VAnchor.Center;
checkBoxWidget.Name = this.Name;
checkBoxWidget.Margin = new BorderDouble(0);
checkBoxWidget.Click += (s, e) =>
{