Using ActionScript 3.0 Components |
|
|
|
| Customizing the UI Components > Customizing the List | |||
You can transform a List component horizontally and vertically while authoring and at run time. While authoring, select the component on the Stage and use the Free Transform tool or any of the Modify > Transform commands. At run time, use the setSize() method and applicable properties of the List class such as height, width, scaleX, and scaleY.
When a list is resized, the rows of the list shrink horizontally, clipping any text within them. Vertically, the list adds or removes rows as needed. Scroll bars are positioned automatically as needed.
|
|
|
|