Sfairadora

  • Reference Guide

Linear_group_def

The definition type of a group.
Type
Name
Description
Bool|Enki
horizontal
If set TRUE, the group is oriented horizontally, rather than vertically.
Bool|Enki
multicolumn
If set TRUE, the items are displayed in multiple columns when the group is too long.
Int|Enki optional
background
The background color. One of the dispel background constants.
If the value is not specified, a suitable one is determined automatically.
border
The border around the area containing the items of the group.
Int|Enki
regular_line
The style of the line drawn between the items. One of the line style constants.
The initial value is LINE_NONE.
Int|Enki
separator_line
The style of the line drawn between the items when the latter item has the attribute “separator” set (i.e. it is separated from the previous). One of the line style constants.
The initial value is LINE_GROOVE.
Int|Enki
column_line
The style of the line drawn between columns of a multicolumn group. One of the line style constants.
The initial value is LINE_NONE.
Int|Enki
regular_space
The space between items. If a line is to be drawn between items, sufficient space must be provided.
The initial value is 0.
Int|Enki
separator_space
The space between items when the latter item has the attribute “separator” set.
The initial value is 6.
Int|Enki
column_space
The space between columns of a multicolumn group. If a line is to be drawn between columns, sufficient space must be provided.
The initial value is 6.
Seq(Linear_group_child_info)
(see below)
items
The definition of the group items.
Seq(Sctl_def)
sctl_info
Information on alignment of subordinate dispels. See Alignment of Dispels

Linear_group_child_info

Type
Name
Description
Int|Enki optional
alignment
Alignment of the item. One of the alignment constants. Only the values ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, and ALIGN_BLOCK are allowed.
Bool|Enki
stretch_along
If set TRUE, the item is stretched to the maximum size along the group orientation (horizontal/vertical).
Bool|Enki
separator
If set TRUE, the item is separated from the previous. (See the attributes separator_line and separator_space in the table above.)
Int|Enki
space_before
The space before the item.
Int|Enki
space_after
The space after the item.
Int|Enki
delta
The shift of the item. When the item is left aligned, it is shifted relative to the left border. When the item is right aligned, it is shifted relative to the right border. When centered, the item is a shift relative to center – positive values shift the item to the right, negative values to the left.
Negative values are allowed only for centered items. In other cases, negative values are treated as zero.
child
The definition of the group item dispel.