Bstate
Specifies the button's behavior responding to specific datapoint states values.
Attributes
Datapoint
Value
The value of the datapoint that identifies the state.
Attribute Values
Value | Description |
---|---|
<string> | The value. |
Layout
Custom Color
Specifies the button's custom color.
Attribute Values
Value | Description |
---|---|
<html color> | Any valid HTML color. |
Label
Specifies the button's label.
Attribute Values
Value | Description |
---|---|
<string> | Button's label. |
Description
Specifies a description displayed below the label.
Attribute Values
Value | Description |
---|---|
<string> | Button's description. |
Tooltip
A text displayed when hovering over the object, commonly used to display additional information.
Attribute Values
Value | Description | Example |
---|---|---|
<string> | Text to be displayed. | Set phasers to stun |
Icon
Icon
Specifies an icon to display. Its position is set with the "Icon Position" attribute.
Attribute Values
Value | Description |
---|---|
<icon> | An icon or image. |
Icon Color
Specifies the icon's color.
Attribute Values
Value | Description | Example |
---|---|---|
<html color> | Color in any html accepted format. | #ff0000 |
Label
Font Family
Specifies the font family.
The default
value is: default
.
Font Size
Specifies the font size in pixels or percentage (relative to the project's font size).
The default
value is: 14
.
Attribute Values
Value | Description | Example |
---|---|---|
<integer> | Font size in pixels. | |
<percentage>% | Relative font size in percentage. | 90% |
Font Color
Specifies the text CSS color.
Attribute Values
Value | Description | Example |
---|---|---|
<html color> | Color in any html accepted format. | #ff0000 |
Font Weight
Specifies the weight of the font.
The default
value is: normal
.
Attribute Values
Value | Description |
---|---|
normal | Default value. Normal. |
bold | Bold. |
bolder | Bolder. |
lighter | Lighter. |
Italic
Show the text in italics.
The default
value is: false
.
Attribute Values
Value | Description |
---|---|
false | Default value. Normal. |
true | Italics. |
Small Caps
Sets the font to small caps.
The default
value is: false
.
Attribute Values
Value | Description |
---|---|
false | Default value. Normal. |
true | Small caps. |
Decoration
Specifies the text decoration.
The default
value is: none
.
Attribute Values
Value | Description |
---|---|
none | Default value. No decoration. |
underline | Underline. |
overline | Overline. |
line-through | Line through. |
Text Align
Sets the horizontal alignment of the text.
The default
value is: none
.
Attribute Values
Value | Description |
---|---|
none | Default value. No alignment. |
left | Left alignment. |
right | Right alignment. |
center | Center alignment. |
justify | Justified alignment. |
Line Height
Sets the line height of the text.
The default
value is: 1.0
.
Attribute Values
Value | Description |
---|---|
<float> | Specify the line height as a multiple of the font size. |