IImageButton.Margin

Syntax

Margin: Integer;

Description

The Margin property determines the margin between the border and the group of component elements.

Comments

The group of elements includes icon and text of the component. The border, from which the margin is made, is selected in accordance with the icon alignment relative to the text that is set in the ImageLayout property (the margin is calculated from the border, to which the icon was aligned).

The property is set to -1 by default, the margin is calculated automatically so that the group of elements is placed in the centre of the component.

See also:

IImageButton