default to coarse on first run of xy calibration

issue: MatterHackers/MCCentral#5484
Revise XYCalibration wizard to prefer Course mode until completed once
This commit is contained in:
Lars Brubaker 2019-05-10 15:57:48 -07:00
parent 642997d8cd
commit a15b5f4e7f
2 changed files with 14 additions and 3 deletions

View file

@ -60,7 +60,8 @@ namespace MatterHackers.MatterControl
};
contentRow.AddChild(column);
column.AddChild(coarseCalibration = new RadioButton("Coarse".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize)
var coarseText = calibrationWizard.Quality == QualityType.Coarse ? "Coarse (recommended)".Localize() : "Coarse".Localize();
column.AddChild(coarseCalibration = new RadioButton(coarseText, textColor: theme.TextColor, fontSize: theme.DefaultFontSize)
{
Checked = calibrationWizard.Quality == QualityType.Coarse
});
@ -70,7 +71,8 @@ namespace MatterHackers.MatterControl
calibrationWizard.Offset = printer.Settings.GetValue<double>(SettingsKey.nozzle_diameter);
};
column.AddChild(normalCalibration = new RadioButton("Normal (Recommended)".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize)
var normalText = calibrationWizard.Quality == QualityType.Normal ? "Normal (recommended)".Localize() : "Normal".Localize();
column.AddChild(normalCalibration = new RadioButton(normalText, textColor: theme.TextColor, fontSize: theme.DefaultFontSize)
{
Checked = calibrationWizard.Quality == QualityType.Normal
});