align

the alignment of the control within the parent container

string align;

Values

  • 'left'
    aligns the control to the left
  • 'center'
    centers the control
  • 'right'
    aligns the control to the right
  • Example

    webix.ui({
        view:"form", elements:[
            { view:"checkbox", id:"ch1", label:"Block", align:"left" },
            { view:"checkbox", id:"ch2", label:"Load" },
            { view:"checkbox", id:"ch3", label:"Enable" } 
        ]
    });


    Default value:

    'left'

    Related samples

    Details

    To be able to align a control you need to define width or inputWidth for the control.

    See also
    Back to top