Reducing complexity of settings ui sync
Adding bed menu to load filament
This commit is contained in:
parent
fa86c58a7c
commit
412c3d2a9e
7 changed files with 118 additions and 171 deletions
|
|
@ -29,8 +29,10 @@ either expressed or implied, of the FreeBSD Project.
|
|||
|
||||
using MatterHackers.Agg;
|
||||
using MatterHackers.Localizations;
|
||||
using MatterHackers.MatterControl.ActionBar;
|
||||
using MatterHackers.MatterControl.CustomWidgets;
|
||||
using MatterHackers.MatterControl.SlicerConfiguration;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
||||
{
|
||||
|
|
@ -46,6 +48,16 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
Margin = new BorderDouble(0, 0, 0, 15)
|
||||
});
|
||||
|
||||
if (showLoadFilamentButton)
|
||||
{
|
||||
int tabIndex = 0;
|
||||
var bedSurfaceChanger = TemperatureWidgetBed.CreateBedSurfaceSelector(printer, theme, ref tabIndex);
|
||||
if (bedSurfaceChanger != null)
|
||||
{
|
||||
contentRow.AddChild(bedSurfaceChanger);
|
||||
}
|
||||
}
|
||||
|
||||
NextButton.Text = nextButtonText;
|
||||
|
||||
if (showLoadFilamentButton)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue