the width of the label
webix.ui({
cols:[
{ view:"form", elements:[
{
view:"checkbox",
id:"ch1",
label:"Block pop-up windows",
labelWidth:80
},
{
view:"checkbox",
id:"ch2",
label:"Load images automatically"
},
{
view:"checkbox",
id:"ch3",
label:"Enable JavaScript"
}
]}
]
});
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