labelWidth

the width of the label

number| string labelWidth;

Example

webix.ui({
    container:"box",
    cols:[
        { view:"form", elements:[
           { view: "richtext", label:"Mytext", labelWidth:90}
        ]}
    ]
});


Default value:

80

Related samples

Details

You can adjust the lable width to its content width by setting the labelWidth property to "auto":

{
    view: "text",
    label: "First Name",
    labelWidth: "auto"
}

Related sample:  Text Input: Autowidth for Label

See also
Back to top