Minor fix for toolbar overflow text color

This commit is contained in:
niksedk 2023-09-08 06:32:43 +02:00
parent 7dbd143f0c
commit a200a61481

View File

@ -839,6 +839,12 @@ namespace Nikse.SubtitleEdit.Logic
e.Graphics.Clear(BackColor); e.Graphics.Clear(BackColor);
} }
protected override void OnRenderItemText(ToolStripItemTextRenderEventArgs e)
{
e.TextColor = ForeColor;
base.OnRenderItemText(e);
}
protected override void OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs e) protected override void OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs e)
{ {
e.Graphics.Clear(BackColor); e.Graphics.Clear(BackColor);