padding

defines the space between the layout borders and content (applies the specified value to all sides)

number padding;

Example

webix.ui({
    view:"dashboard",
    gridColumns:4, gridRows:3,
    padding: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
Back to top