Packagefeathers.controls
Classpublic class TrackLayoutMode
InheritanceTrackLayoutMode Inheritance Object

Product Version : Feathers 3.0.0

Layout modes for components with a thumb that is dragged along a track.



Public Constants
 ConstantDefined By
  SINGLE : String = "single"
[static] The component has only one track, that fills its full length.
TrackLayoutMode
  SPLIT : String = "split"
[static] The component has multiple tracks, meeting in the middle of the thumb and filling the available space on each side.
TrackLayoutMode
Constant Detail
SINGLEConstant
public static const SINGLE:String = "single"

Product Version : Feathers 3.0.0

The component has only one track, that fills its full length.

SPLITConstant 
public static const SPLIT:String = "split"

Product Version : Feathers 3.0.0

The component has multiple tracks, meeting in the middle of the thumb and filling the available space on each side. The tracks will be resized as the thumb moves.

This track layout mode is designed for components where the track on different sides of the thumb may be colored differently to show the value "filling up" as the thumb is dragged.

Since the tracks will be resized when the thumb is dragged, consider using a display object that is capable of resizing without distortion, such as an Image with a scale9Grid or a tileGrid.