Using ActionScript 3.0 Components |
|
|
|
| Customizing the UI Components > Customizing the ComboBox | |||
You can transform a ComboBox 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 or applicable properties of the ComboBox class such as height and width and scaleX and scaleY.
The ComboBox will resize to fit the specified width and height. The list will resize to fit the width of the component, unless the dropdownWidth property has been set.
If the text is too long to fit in the ComboBox, the text is clipped to fit. You must resize the ComboBox and set the dropdownWidth property to fit the text.
|
|
|
|