labelWidth of ui.textarea, Properties Webix Docs
the width of the label
number| string labelWidth;
Example
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"
}
]}
]
});
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