Documentation

margin

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

number margin;

Example

webix.ui({
        container:"box",
        view:"toolbar", 
        margin:20,
        cols:[
            { view:"button", value:"Load" },
            { view:"button", value:"Save" },
            { view:"button", value:"Delete" }
        ]
});

Details

The image below shows how the script above applies the margin property.


Back to top