diff --git a/Bonsai.Editor/GraphView/WorkflowEditorControl.cs b/Bonsai.Editor/GraphView/WorkflowEditorControl.cs index 8b4cb850..df5a5f50 100644 --- a/Bonsai.Editor/GraphView/WorkflowEditorControl.cs +++ b/Bonsai.Editor/GraphView/WorkflowEditorControl.cs @@ -472,6 +472,13 @@ private void InitializeTheme(TabPage tabPage) else adjustRectangle.Bottom = adjustRectangle.Left; tabControl.AdjustRectangle = adjustRectangle; + var labelOffset = browserLabel.Height - ItemHeight + 1; + if (themeRenderer.ActiveTheme == ColorTheme.Light && labelOffset < 0) + { + labelOffset += 1; + } + browserLayoutPanel.RowStyles[0].Height -= labelOffset; + var colorTable = themeRenderer.ToolStripRenderer.ColorTable; browserLabel.BackColor = closeBrowserButton.BackColor = colorTable.SeparatorDark; browserLabel.ForeColor = closeBrowserButton.ForeColor = colorTable.ControlForeColor;