Using Components > The PushButton component > Sizing PushButton components

 

Sizing PushButton components

You can size the height and width of push button instances using the Free Transform tool. If the push button is not large enough to display the label, the label text is truncated. You can set the size of push button instances at runtime using the FPushButton.setSize method.

If you use the ActionScript _width and _height properties to adjust the width and height of components, the component is resized but the layout of the label remains the same, which may result in distortion.