0
목록에 표시 할 텍스트가있는 mx : Text 태그가 있습니다. 코드는 다음과 같습니다.mx : mx : List 내의 텍스트 둘러싸 기
<mx:List id="projectList"
width="100%"
height="100%"
dataProvider="{project.projectRequirements}"
borderThickness="0">
<mx:itemRenderer>
<mx:Component>
<mx:HBox height="100%"
minHeight="20"
paddingBottom="0"
paddingLeft="0"
paddingRight="0"
paddingTop="0"
width="100%"
horizontalScrollPolicy="off"
verticalScrollPolicy="off">
<mx:Text width="100%"
fontSize="12"
text="{data.requirement.requirementText}"/>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:List>
내가 수동으로 MX의 높이를 설정 한 경우 : 내가 몇 줄을 허용 알고 뭔가 HBox의를, 다음 텍스트를 바꿈됩니다. 목록의 각 구성 요소가 텍스트 높이에 따라 다른 높이가 될 수 있기를 정말로 바라고있었습니다. 일부 텍스트는 1 행이고, 일부는 4 또는 5입니다.