TextPosition label sizing is incorrect. Regardless of AutoSize and AutoSizeLabels settings, only the first label size is calculated correctly. I've attached a project and a screenshot of the issue. It seems size isn't calculated if TextPosition == Telerik.WinControls.UI.LayoutItemTextPosition.Top.
private
void
RadDataLayout1_ItemInitializing1(
object
sender, DataLayoutItemInitializingEventArgs e)
{
e.Item.ControlVerticalAlignment = RadVerticalAlignment.Bottom;
e.Item.TextPosition = Telerik.WinControls.UI.LayoutItemTextPosition.Top;
e.Item.TextAlignment = ContentAlignment.TopCenter;
e.Item.MaxSize =
new
Size(0, 40);
}
radDataLayout1.ItemDefaultHeight = 40;