Link to home
Start Free TrialLog in
Avatar of rakesh16d
rakesh16d

asked on

text area auto height

hi experts, i have a list in which i am rendering text area, text length is variable- can range from 2 lines to 10 lines. how do i auto resize the height.. i have tried most of the things from google  but its not working as required. when i render and update the list. it creating scroll bars.

please help
<mx:List id = "rendererList"
		dataProvider="{dataXML.entry}">
		<mx:itemRenderer>
			<mx:Component>
				<mx:TextArea  width="100%" height="100"/>
			</mx:Component>
		</mx:itemRenderer>
	</mx:List>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Gary Benade
Gary Benade
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 33tpm
33tpm

Is there any source file to go with this?


Thank you
Thomas