CalculateListFieldHeight Method (itemCount, itemHeight, flags)

Calculate height of list field for absolute positioning.
public static float CalculateListFieldHeight(
	int itemCount,
	float itemHeight,
	ReorderableListFlags flags = 
)

Parameters

itemCount (Int32)
Count of items in list.
itemHeight (Single)
Fixed height of list item.
flags (ReorderableListFlags) (Optional)
Optional flags to pass into list field.

Return Value

Required list height in pixels.