qnx.fuse.ui.text.TextMeasurementSettings

TextMeasurementSettings

Properties | Methods


Packageqnx.fuse.ui.text
Classpublic class TextMeasurementSettings
InheritanceTextMeasurementSettings Inheritance Object

Contains settings that can be used to influence a TextField instance's preferred size. These settings differ from TextAttributes in that they only affect the preferred size and not the appearance of the TextField.

Class information:
PlayBook Tablet OS Version:   1.0.6



Public Properties

 PropertyDefined By
  correctForGutters : Boolean = false
A boolean that determines if the TextField will account for gutters.
TextMeasurementSettings
  minimumWidth : Number = 0
Sets the minimum width of the TextField.
TextMeasurementSettings
  wrappingPoint : Number = Infinity
Sets the wrapping point for the text.
TextMeasurementSettings

Public Methods

 MethodDefined By
  
Creates a TextMeasurementSettings instance.
TextMeasurementSettings

Property Detail

correctForGutters


public var correctForGutters:Boolean = false

A boolean that determines if the TextField will account for gutters. The gutter is the spacing that appears around the top, bottom, and side edges of the text.

The default value is false.

minimumWidth


public var minimumWidth:Number = 0

Sets the minimum width of the TextField.

The default value is 0.

wrappingPoint


public var wrappingPoint:Number = Infinity

Sets the wrapping point for the text.

The default value is DefaultSize.

Constructor Detail

TextMeasurementSettings()


public function TextMeasurementSettings()

Creates a TextMeasurementSettings instance.