margin

defines the space around elements (applies the specified value to all elements)

number margin;

Example

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" }
      ]
    }
  ]
});

Details

The images below show how the margin property is applied:

default behavior

custom margin

Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript ui components library and page of form widget product.