| Package | qnx.ui.buttons |
| Class | public class LabelPlacement |
| Inheritance | LabelPlacement Object |
LabelPlacement class contains constants that define how a label is placed next to a skin or icon. The
LabelPlacement class is used by the CheckNox class to position the label text relative to the
check box.
The following listing places the text label above the check box control:
myCheckBox.label = "Disable login";
myCheckBox.labelPadding = 5;
myCheckBox.labelPlacement = LabelPlacement.TOP;
See also
| Constant | Defined By | ||
|---|---|---|---|
| BOTTOM : String = labelPlacementBottom [static]
Position the label below the skin or icon. | LabelPlacement | ||
| LEFT : String = labelPlacementLeft [static]
Position the label to the left side of the skin or icon. | LabelPlacement | ||
| RIGHT : String = labelPlacementRight [static]
Position the label to the right side of the skin or icon. | LabelPlacement | ||
| TOP : String = labelPlacementTop [static]
Position the label above the skin or icon. | LabelPlacement | ||
| BOTTOM | Constant |
public static const BOTTOM:String = labelPlacementBottomPosition the label below the skin or icon.
| LEFT | Constant |
public static const LEFT:String = labelPlacementLeftPosition the label to the left side of the skin or icon.
| RIGHT | Constant |
public static const RIGHT:String = labelPlacementRightPosition the label to the right side of the skin or icon.
| TOP | Constant |
public static const TOP:String = labelPlacementTopPosition the label above the skin or icon.