margin

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

number margin;

Example

webix.ui({
    view:"dashboard",
    gridColumns:4, gridRows:3,
    margin:20,
    cells:[
        { view:"panel", x:0, y:0, dx:1, dy:1, body:{template:"Single"}},
        { view:"panel", x:1, y:0, dx:2, dy:1, body:{template:"Wide 1"}},
        { view:"panel", x:0, y:1, dx:2, dy:1, body:{template:"Wide 2"}}
        // more cells
    ]
});


Default value:

10
See also
  • Articles
  • Back to top