ListWidget::GetNaturalListItemSize
Defined in:
Returns the natural size for a list item.
C4Widgets.h
Prototype
Vector2D GetNaturalListItemSize(void) const;
Description
The GetNaturalListItemSize
function returns the size that a list item should have in order to perfectly fill the horizontal and vertical space allocated for each item. The horizontal size, in the x coordinate of the returne value, accounts for the scroll bar and list item offset. The vertical size, in the y coordinate of the return value, is always equal to the list item spacing.
See Also