Groups¶
Use a group when several tools belong together. Move the group to reposition all of them at once. Each tool keeps its own relative position within the group.
Basic usage¶
This group combines an icon, name, state, and line into one room summary:
The tool coordinates describe their positions inside the group. Changing only the group's xpos or ypos moves the icon, name, state, and line together.
Arrange tools around the center¶
The local center of a group is xpos: 50, ypos: 50.
- Use a value below
50to place a tool left of or above the center. - Use a value above
50to place a tool right of or below the center. - Keep related tools near the center when the same arrangement will be reused elsewhere.
The group itself uses the normal card coordinates.
Repeat an arrangement¶
Create another group when the same visual arrangement should appear elsewhere. Reuse each tool with same_as and assign the new group.
Both room summaries keep the same internal arrangement. Their groups determine where they appear on the card.
See Reuse™ when more parts of the arrangement should be reused.
Show content when it is needed¶
A group can reveal a complete part of the card for a selected mode, tab, or entity state. For example, show the history view only while History is selected:
See Visibility for conditional examples.
Configuration¶
| Field | Description |
|---|---|
id | Names the group so tools can refer to it. |
xpos | Horizontal position of the complete group on the card. |
ypos | Vertical position of the complete group on the card. |
visibility | Shows or hides the group and its tools. |