align

the alignment of the control within the parent container

string align;

Values

  • 'left'
    aligns the control to the left (the default value)
  • 'center'
    centers the control
  • 'right'
    aligns the control to the right
  • Example

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

    Related samples

    See also
    Back to top