@ -71,6 +71,7 @@ The following sample YAML shows the required form and all of the available confi
<pre>
group1:
has_border: false
height: 200
rows:
row1:
height: 50
@ -133,7 +134,22 @@ group2:
has_label: true
font_size: 15
minimum_lines: 1
group3:
rows:
row1:
priority: 2
columns:
children:
has_label: true
has_count: true
indented: true
font_size: 15
font_style: normal
minimum_lines: 1
render_if_empty: true
</pre>
The config is divided into groups. A group can have a height property which will enforce the minimum height of the group in pixels. The has_border property can be set to true which will draw a border around the rows in the group.
Any number of rows can be defined. The font_size and minimum_lines properties define how much height on the card is given to the row. The plugin will attempt to assign enough space to each of the rows, however space will be assigned based on the priorities of the the rows, with rows with lower priority (higher numbers) being reduced and removed first if there is not enough for all the data. The row height can be forced by giving a value, in pixels, for the row height property. This will override the assigned row height.