While browsing through mono's System.Windows.Forms sources I've come
across the following suspicious piece of code in ToolStripDropDown.OnLayout:
if (tsi is ToolStripSeparator)
height = 7;
else
height = 22;
Does the attached patch fix the issue for you?
Jonathan
Index: ToolStripDropDown.cs
===================================================================
--- ToolStripDropDown.cs (revision 128017)
+++ ToolStripDropDown.cs (working copy)
@@ -602,7 +602,11 @@
int height = 0;
- if (tsi is ToolStripSeparator)
+ int preferred_height = tsi.GetPreferredSize
(Size.Empty).Height;
+
+ if (preferred_height > 22)
+ height = preferred_height;
+ else if (tsi is ToolStripSeparator)
height = 7;
else
height = 22;
_______________________________________________
Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list