We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcbd209 commit 4ae615dCopy full SHA for 4ae615d
1 file changed
Intersect.Client.Framework/Gwen/Control/ComboBox.cs
@@ -422,10 +422,8 @@ private static void Open(ComboBox @this)
422
var menuItems = @this._menu.Children.OfType<MenuItem>().ToArray();
423
foreach (var menuItem in menuItems)
424
{
425
- menuItem.SizeToContents();
+ menuItem.AutoSizeToContents = false;
426
totalChildHeight += menuItem.OuterHeight;
427
- // TODO(2553): I thought this was the solution, it isn't. Results in menu growing each time it's opened.
428
- // width = Math.Max(width, menuItem.OuterWidth + menuPaddingH);
429
}
430
431
var offset = @this.ToCanvas(default);
0 commit comments