Remove DisableableControlBase

This commit is contained in:
John Lewin 2018-04-07 08:24:20 -07:00
parent 87876c6ca2
commit 7c0334cd87

View file

@ -98,8 +98,6 @@ namespace MatterHackers.MatterControl
public Color InactiveTabColor { get; set; }
public Color ActiveTabBarBackground { get; set; }
public TextImageButtonFactory DisableableControlBase { get; private set; }
public TextImageButtonFactory MicroButton { get; private set; }
public TextImageButtonFactory MicroButtonMenu { get; private set; }
@ -263,23 +261,6 @@ namespace MatterHackers.MatterControl
});
#endregion
#region ImageConverter
// TODO: Need to remain based default ButtonFactionOptions constructor until reviewed for styling issues
var disableableControlOptions = new ButtonFactoryOptions()
{
NormalFillColor = Color.White,
NormalTextColor = Color.Black,
HoverTextColor = colors.PrimaryTextColor,
DisabledFillColor = Color.White,
DisabledTextColor = Color.DarkGray,
PressedTextColor = colors.PrimaryTextColor,
FixedHeight = 25 * GuiWidget.DeviceScale,
FontSize = 11
};
this.DisableableControlBase = new TextImageButtonFactory(disableableControlOptions);
#endregion
this.LinkButtonFactory = new LinkButtonFactory()
{
fontSize = FontSize11,