Vector3 labelSize = label.GetNaturalSize();
size.width = ( labelSize.width > size.width ) ? labelSize.width : size.width;
- size.height += labelSize.height;
+ size.height += labelSize.height + 50.0f/*FIXME*/;
}
}
if( label )
{
- height += label.GetHeightForWidth( width );
+ height += label.GetHeightForWidth( width ) + 50.0f/*FIXME*/;
}
}
label.SetPosition( position );
childSize.height = label.GetHeightForWidth( size.width );
- position.height += childSize.height;
+ position.height += childSize.height + 50.0f/*FIXME*/;
label.SetSize( childSize );
}