Fixed the number edit not to grow on Android. Made it's VAnchor always ParentCenter
Made the logic to test if a part should be centered on the bed be if it was output by MatterControl Some other white space changes
This commit is contained in:
parent
8c36377e32
commit
0b3bbc136b
7 changed files with 37 additions and 9 deletions
|
|
@ -79,7 +79,6 @@ namespace MatterHackers.MatterControl.PrinterControls
|
|||
SetDisplayAttributes();
|
||||
|
||||
fanSpeedDisplay = new EditableNumberDisplay(textImageButtonFactory, "{0}%".FormatWith(PrinterConnectionAndCommunication.Instance.FanSpeed0To255.ToString()), "100%");
|
||||
fanSpeedDisplay.VAnchor = VAnchor.ParentCenter;
|
||||
fanSpeedDisplay.EditComplete += (sender, e) =>
|
||||
{
|
||||
PrinterConnectionAndCommunication.Instance.FanSpeed0To255 = (int)(fanSpeedDisplay.GetValue() * 255.5 / 100);
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ namespace MatterHackers.MatterControl.PrinterControls
|
|||
{
|
||||
public class TemperatureControls : ControlWidgetBase
|
||||
{
|
||||
|
||||
public List<DisableableWidget> ExtruderWidgetContainers = new List<DisableableWidget>();
|
||||
public DisableableWidget BedTemperatureControlWidget;
|
||||
|
||||
|
|
@ -55,7 +54,6 @@ namespace MatterHackers.MatterControl.PrinterControls
|
|||
mainContainer.AddChild(extruderTemperatureControlWidget);
|
||||
mainContainer.AddChild(new HorizontalLine(separatorLineColor));
|
||||
ExtruderWidgetContainers.Add(extruderTemperatureControlWidget);
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue