void set_margin(int margin);

Sets the margin of the view. The margin is the space between the icon view's border and an invisible box around the items.

You can set the margin to values smaller than 0, but then the items will be partly hidden.

If you are familiar with CSS: The margin here is the same as the margin of a box.

See also: get_margin()