1
Vote

The first TabItem content size

description

The Content of the first added TabItem has slightly different size (Height) than subsequently added TabItems.
 
Patch (not a fix):
at the end of ScrollablePanel.MeasureOverride
 
        if (allItems.Count() > 0)
        {
            return new Size(
                Math.Min(availableSize.Width, totalWidth),
        //Math.Min(availableSize.Height, InternalChildren.OfType<UIElement>().Max(e => e.DesiredSize.Height))
    Math.Max(
       Math.Min(
            availableSize.Height, 
        InternalChildren.OfType<UIElement>()
        .Max(e => e.DesiredSize.Height)),
        16.8)
        );
    }

comments