[Mono-winforms-list] [BUMP] ToolStripDropDown + UserControl

Jonathan Pobst monkey at jpobst.com
Tue Mar 3 17:39:49 EST 2009


>> Does the attached patch fix the issue for you?
> 
> Well, partially.
> 
> The height is determined correctly, but there's still extra decoration 
> to the left and right of the hosted item as demonstrated on attached 
> screenshot.

Like your first email says, we need to figure out why that 68 is there. 
  It is a crutch to support the common case, but it messes up less 
common cases like this.

While your patch works around the issue, its not the correct solution. 
This 68 needs to be dynamically calculated from something, whether its 
margins or paddings or preferred sizes of MenuItems.

I will try to look at this some this week if you don't want to dig any 
deeper.

Jonathan


More information about the Mono-winforms-list mailing list