diff --git a/Fluent.Ribbon/Controls/RibbonToolBar.cs b/Fluent.Ribbon/Controls/RibbonToolBar.cs index 652e5d2a7..7fc375a0d 100644 --- a/Fluent.Ribbon/Controls/RibbonToolBar.cs +++ b/Fluent.Ribbon/Controls/RibbonToolBar.cs @@ -334,6 +334,7 @@ private Size WrapPanelLayuot(Size availableSize, bool measure) columnWidth = Math.Max(columnWidth, child.DesiredSize.Width); currentheight += child.DesiredSize.Height; + resultHeight = Math.Max(resultHeight, currentheight); } return new Size(resultWidth + columnWidth, resultHeight);