defines the space around elements (applies the specified value to all elements)
webix.ui({
view:"form",
width:400,
margin: 20,
elements:[
{ view:"text", label:"Email"},
{ view:"text", type:"password", label:"Password"},
{
cols:[
{ view:"button", label:"Login" , type:"form" },
{ view:"button", label:"Cancel" }
]
}
]
});
The images below show how the margin property is applied:
default behavior
custom margin
Back to top