labelWidth

ширина ярлыка

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
Наверх