Show Menu
TOPICS×

Swatches.align

[Swatches.|<containerId>_swatches.]align=left|center|right,top|center|bottom
Specifies the internal alignment (anchoring) of the swatches container within the component area. In Swatches, the internal thumbnail container is sized so that only a whole number of swatches is shown. As a result, there is some padding between internal container and external component bounds. This command specifies how the internal swatches container is positioned inside component.
left|center|right
Sets the alignment of the horizontal swatches.
top|center|bottom
Sets the alignment of the vertical swatches.

Properties

Optional.

Default

center,center

Example

align=left,top