SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.iconPadding  property

It specifies the space between the icon and text in the cell which additionally displays the image icon. 

Getter
function iconPadding(): Integer
Setter
function setIconPadding(value: Integer)
Code -1
    column.setStyles({
        iconPadding: 2
    });
See Also
IconLocation
iconIndex
iconAlignment
iconOffset
iconAlpha
IconCellRenderer
CheckCellRenderer
Styles Overview
Examples
Icon Cell Renderer
Column Styles