Another fix for white theme
This commit is contained in:
parent
1ff766a199
commit
6eabbda19b
@ -43,7 +43,7 @@ namespace Toolbox.Library.Forms
|
|||||||
return ((MenuRenderer)this.Renderer).HighlightMenuBar;
|
return ((MenuRenderer)this.Renderer).HighlightMenuBar;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
if (Renderer == null || !(Renderer is MenuRenderer))
|
if (Renderer != null && (Renderer is MenuRenderer))
|
||||||
((MenuRenderer)this.Renderer).HighlightMenuBar = value;
|
((MenuRenderer)this.Renderer).HighlightMenuBar = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ namespace Toolbox.Library.Forms
|
|||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (Renderer != null || !(Renderer is MenuRenderer))
|
if (Renderer != null && Renderer is MenuRenderer)
|
||||||
((MenuRenderer)this.Renderer).HighlightMenuBar = value;
|
((MenuRenderer)this.Renderer).HighlightMenuBar = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -113,8 +113,8 @@ namespace Toolbox.Library.Forms
|
|||||||
{
|
{
|
||||||
public bool HighlightMenuBar = false;
|
public bool HighlightMenuBar = false;
|
||||||
|
|
||||||
private static Color checkedHighlightBackColor = FormThemes.BaseTheme.FormContextMenuSelectColor;
|
private static Color checkedHighlightBackColor = FormThemes.BaseTheme.FormBackColor;
|
||||||
private static Color uncheckedHighlightBackColor = FormThemes.BaseTheme.CheckBoxBackColor;
|
private static Color uncheckedHighlightBackColor = FormThemes.BaseTheme.FormBackColor;
|
||||||
|
|
||||||
public override Color ToolStripDropDownBackground
|
public override Color ToolStripDropDownBackground
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user