Try out temp controls in scene before move to Controls section
This commit is contained in:
parent
b3ed045478
commit
15263ed806
3 changed files with 29 additions and 13 deletions
|
|
@ -41,6 +41,7 @@ using System;
|
|||
using System.IO;
|
||||
using static MatterHackers.MatterControl.PartPreviewWindow.View3DWidget;
|
||||
using MatterHackers.MatterControl.PrinterControls;
|
||||
using MatterHackers.MatterControl.ActionBar;
|
||||
|
||||
namespace MatterHackers.MatterControl.PartPreviewWindow
|
||||
{
|
||||
|
|
@ -203,6 +204,27 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
this.AddChild(viewControls3D);
|
||||
|
||||
var extruderTemperatureWidget = new TemperatureWidgetExtruder()
|
||||
{
|
||||
VAnchor = VAnchor.ParentTop | VAnchor.FitToChildren | VAnchor.AbsolutePosition,
|
||||
HAnchor = HAnchor.ParentRight | HAnchor.FitToChildren,
|
||||
Visible = true,
|
||||
Margin = new BorderDouble(0, 0, 800, 50)
|
||||
};
|
||||
this.AddChild(extruderTemperatureWidget);
|
||||
|
||||
if (ActiveSliceSettings.Instance.GetValue<bool>(SettingsKey.has_heated_bed))
|
||||
{
|
||||
var bedTemperatureWidget = new TemperatureWidgetBed()
|
||||
{
|
||||
VAnchor = VAnchor.ParentTop | VAnchor.FitToChildren | VAnchor.AbsolutePosition,
|
||||
HAnchor = HAnchor.ParentRight | HAnchor.FitToChildren,
|
||||
Visible = true,
|
||||
Margin = new BorderDouble(0, 0, 860, 50)
|
||||
};
|
||||
this.AddChild(bedTemperatureWidget);
|
||||
}
|
||||
|
||||
this.AnchorAll();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue