Extract SliceSettingsWidget settings/tab view to reusable control

- Make Configure Printer persist/restore last tab
- Revise layouts.txt groups
- Issue MatterHackers/MCCentral#2646
Configure Printer should use same implementation as SliceSettingsWidget
This commit is contained in:
John Lewin 2018-01-14 10:13:42 -08:00
parent 42a5e08ac4
commit 5e4184217e
15 changed files with 227 additions and 248 deletions

View file

@ -83,7 +83,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
};
column.AddChild(row);
var labelWidget = SliceSettingsWidget.CreateSettingsLabel($"Nozzle {i + 1}", "", textColor);
var labelWidget = SliceSettingsTabView.CreateSettingsLabel($"Nozzle {i + 1}", "", textColor);
labelWidget.Name = $"Nozzle {i}";
labelWidget.Margin = new BorderDouble(right: 60, left: 20);
row.AddChild(labelWidget);