Adjusting Flex Repeater Instances height Dynamically

How can we adjust the flex repeater Instances height dynamically based on the content in the sub view without scroll bars in the instances?