View source
class TextFieldViewPort
package feathers.controls.supportClasses
extends FeathersControl › MeasureSprite › ValidatingSprite
implements IViewPort
Constructor
Variables
maxVisibleHeight:Null<Float> = Math.POSITIVE_INFINITY
maxVisibleWidth:Null<Float> = Math.POSITIVE_INFINITY
multiline:Bool = false
Indicates if the multiple lines of text may be displayed.
Available since
1.0.0
.paddingBottom:Float = 0.0
The minimum space, in pixels, between the view port's bottom edge and the text.
Available since
1.0.0
.paddingLeft:Float = 0.0
The minimum space, in pixels, between the view port's left edge and the text.
Available since
1.0.0
.paddingRight:Float = 0.0
The minimum space, in pixels, between the view port's right edge and the text.
Available since
1.0.0
.paddingTop:Float = 0.0
The minimum space, in pixels, between the view port's top edge and the text.
Available since
1.0.0
.read onlyrequiresMeasurementOnScroll:Bool
restrict:String = null
Limits the set of characters that may be typed with the keyboard.
Available since
1.0.0
.smoothScrolling:Bool = false
Determines if scrolling is smooth or line by line.
Available since
1.0.0
.textFieldType:TextFieldType = DYNAMIC
Indicates if it's a dynamic or input text field.
Available since
1.0.0
.See also:
openfl.text.TextField.type
wordWrap:Bool = false
Determines if the text will wrap when reaching the right edge, or if horizontal scrolling will be required.
Available since
1.0.0
.