labelPosition

positions a label in relation to the control

string labelPosition;

Values

  • "top"
    places a label above the control
  • Example

    {view:"text", label:"Some Text", labelPosition:"top"}


    Default value:

    "left"

    Related samples

    Details

    By default label features left alignment, so the top label will be placed to the left upper corner of the control.

    The top right alignment is achieved by applying both properties:

    {view:"text", label:"Some Text", labelAlign:"right", labelPosition:"top"}
    See also
    Back to top