Eliminate IUIField interface
This commit is contained in:
parent
caeab53a2d
commit
5e6afa4496
11 changed files with 33 additions and 40 deletions
|
|
@ -31,13 +31,13 @@ using MatterHackers.Agg.UI;
|
|||
|
||||
namespace MatterHackers.MatterControl.SlicerConfiguration
|
||||
{
|
||||
public abstract class NumberField : BasicField, IUIField
|
||||
public abstract class NumberField : BasicField
|
||||
{
|
||||
protected MHNumberEdit numberEdit;
|
||||
|
||||
private readonly int ControlWidth = (int)(60 * GuiWidget.DeviceScale + .5);
|
||||
|
||||
public virtual void Initialize(int tabIndex)
|
||||
public override void Initialize(int tabIndex)
|
||||
{
|
||||
numberEdit = new MHNumberEdit(0, pixelWidth: ControlWidth, tabIndex: tabIndex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue