Fixing warning and error icons

This commit is contained in:
Lars Brubaker 2022-03-24 09:55:35 -07:00
parent 18be37d464
commit fc64b45978
13 changed files with 31 additions and 25 deletions

View file

@ -17,12 +17,12 @@ namespace MatterHackers.MatterControl.ConfigurationPage
public Action<bool> ToggleAction { get; set; }
}
public SettingsItem(string text, ThemeConfig theme, ToggleSwitchConfig toggleSwitchConfig = null, GuiWidget optionalControls = null, ImageBuffer iconImage = null, bool enforceGutter = true)
: this(text, CreateToggleSwitch(toggleSwitchConfig, theme), theme, optionalControls, iconImage, enforceGutter)
public SettingsItem(string text, ThemeConfig theme, ToggleSwitchConfig toggleSwitchConfig = null, GuiWidget optionalControls = null, ImageBuffer iconImage = null)
: this(text, CreateToggleSwitch(toggleSwitchConfig, theme), theme, optionalControls, iconImage)
{
}
public SettingsItem (string text, GuiWidget settingsControls, ThemeConfig theme, GuiWidget optionalControls = null, ImageBuffer imageBuffer = null, bool enforceGutter = true)
public SettingsItem (string text, GuiWidget settingsControls, ThemeConfig theme, GuiWidget optionalControls = null, ImageBuffer imageBuffer = null)
: base (text, "", theme, imageBuffer)
{
this.SettingsControl = settingsControls;