From 7c0334cd87f551cb80c6af7516f11bc97d79084b Mon Sep 17 00:00:00 2001 From: John Lewin Date: Sat, 7 Apr 2018 08:24:20 -0700 Subject: [PATCH] Remove DisableableControlBase --- ApplicationView/ThemeConfig.cs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/ApplicationView/ThemeConfig.cs b/ApplicationView/ThemeConfig.cs index d770c8d3b..b8eb15133 100644 --- a/ApplicationView/ThemeConfig.cs +++ b/ApplicationView/ThemeConfig.cs @@ -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,