Developer Documentation Library > Scripting > mrScriptMetadata User's Guide > mrScriptMetadata reference > Styles and templates > Standard style properties
 
Standard style properties
Align
Data type: Enumeration
Valid values: Center, Default, Justify, Left, or Right.
The horizontal alignment of the control or label relative to the parent control or the HTML player if there is no parent control.
BgColor
Data type: String
Valid values: See Color values.
The background color of the control or label.
Cell
This property is used to set style properties for cells. For more information, see Cell style properties.
Color
Data type: String
Valid values: See Color values.
The text color of the control or label.
Columns
Data type: Integer
Valid values: A positive integer.
The number of columns to use when displaying a list. Use only with the style keyword.
Control
This property is used to set style properties for controls. For more information, see Control style properties.
Cursor
Data type: Enumeration
Valid values: Auto, CrossHair, Default, Pointer, Move, EResize, NEResize, NResize, NWResize, WResize, SWResize, SResize, SEResize, Text, Wait, or Help.
The type of cursor that will appear above the control.
ElementAlign
Data type: Enumeration
Valid values: Default, NewLine, or Right.
The position of the control or label relative to the previous control or label.
Font
This property is used to set style properties for fonts. For more information, see Font style properties.
Height
Data type: String
Valid values: See Units of length.
The vertical size of the control or label. If no units are specified, pixels (“px”) will be used.
Hidden
Data type: Boolean
Valid values: True or False.
Whether the control or label is hidden. The default value is False.
_Image
Data type: String
Valid values: The name and location of an image file.
The image to use for the control or label. This property is deprecated, use Image.Position instead.
ImagePosition
Data type: Enumeration
Valid values: Bottom, ImageOnly, Left, None, Right, or Top.
The position of the image relative to the text. This property is deprecated, use Image.Position instead.
Indent
Data type: Integer
Valid values: A positive integer.
How far the control or label is indented from the left of the HTML player.
Orientation
Data type: Enumeration
Valid values: Column, Default, or Row.
The orientation of a list. Use only with the style keyword.
Rows
Data type: Integer
Valid values: A positive integer.
The number of rows that to use when displaying a list. Use only with the style keyword.
VerticalAlign
Data type: Enumeration
Valid values: Baseline, Bottom, Default, Middle, Sub, Super, TextBottom, TextTop, or Top.
The vertical alignment of the control or label relative to the parent control or the HTML player if there is no parent control.
Width
Data type: String
Valid values: See Units of length.
The horizontal size of the control or label. If no units are specified, pixels (“px”) will be used.
ZIndex
Data type: Integer
Valid values: A positive or negative integer.
Whether the control or label appear above or below other controls when they overlap. When two controls overlap, the one with the higher ZIndex will appear on top. The default value is zero.
Example
The following example shows how standard style properties should be defined in mrScriptMetadata:
Q1
  "Rating" Style ( Color = "Blue", ElementAlign = Right, Hidden = False )
  categorical [1] {High, Medium, Low};
See
Styles and templates