Customizing the Label component

You can transform a Label component horizontally and vertically while authoring and at runtime. While authoring, select the component on the Stage and use the Free Transform tool or any of the Modify > Transform commands. You can also set the autoSize authoring parameter; setting this parameter doesn't change the bounding box in the live preview, but the label is resized. For more information, see Label parameters. At runtime, use the setSize() method (see UIObject.setSize()) or Label.autoSize).

Related topics