States
A widget's state can change based on the values. The values are read synchronously when the widget is live and might change during the lifetime. You will be able to change the Background or any other setting to visually see the state change. The states tab allows you to set various states.
Usage:
A widget can be in a number of different states depending on the value of a variable it is assigned to, which are defined in the States tab.
- Enter the Name of the State.
- Click the Variable drop-down and select a variable you want to monitor. If you select Widget Variable, it will be linked to the variable of the widget.
- Select a condition for the state.
- Enter the Value when this state needs to get active.
After defining the states, you can set all the styling for a particular state by choosing the state at the top and defining the style in the Style tab. Additionally you will be able to set other parameters in the adjacent tabs.
Local variables are all string type. For boolean comparisons use the value "1" or "0" instead of "true" or "false".