-
Notifications
You must be signed in to change notification settings - Fork 2
Heater Labels
George Joseph edited this page Oct 20, 2019
·
1 revision
A "heater_labels" widget is a convenience companion widget to the heaters widget. It's just a panel with 4 labels in it. From top to bottom: "Name:", "Current:", "Active:", "Standby:". Normally you'd use this widget next to a heater widget.

{
/*
* All attributes of Element and Panel apply here
*/
"id": "heater_labels",
"type": "heater_labels",
"position": {
"my": "left top",
"at": "left top",
"of": "#dueui_panel_main"
},
/* You want to apply width to the entire panel */
"style": {
"width": "110px"
},
"element_defaults": {
"classes": "btn btn-secondary",
"style": {
/* Label width set to 100% of the panel */
"width": "100%",
/* Individual label height */
"height": "2.5em"
}
}
},