Property Detail

maxLines

The text component will render additional lines, if necessary, and will be clipped from view.
Setting this value to 0 causes all lines to be measured.

Implementation

public function get maxLines():int

public function set maxLines(value:int):void

minLines

minLines:int

Gets or sets the minimum number of lines to be measured by a layout.

If the full text results in less lines than the minimum number of lines, then the size of the minimum number of lines will be returned when measuring the text.
Setting this value less then 1 will have no effect and will be constrained to 1.

Implementation

public function get minLines():int

public function set minLines(value:int):void

Constructor Detail

TextArea()

public function TextArea()

Creates a new TextArea instance.

Method Detail

getSizeOptions()

override public function getSizeOptions():int

Returns a value indicating whether or not this control can grow or shrink horizontally.