CalculateListFieldHeight Method (itemCount, flags)

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

Parameters

itemCount (Int32)
Count of items in list.
flags (ReorderableListFlags) (Optional)
Optional flags to pass into list field.

Return Value

Required list height in pixels.