Major
Nice to have
Bugfix
Major
The background color of the line is normally also used as background for the label. Even and odd lines get a different background each.
The background color for a line is determined incrementally in one iteration over all lines. A color indexer is used for this. However, this color indexer does not determine the background color statelessly, but incrementally on the basis of the previously used color.
The determination of the background color for the lines and for the labels is done independently. While it was necessary to determine a background color for each line, a background color for label texts was determined only for those lines in which there were also labels. Thus lines were skipped here if necessary. Since the background color is now determined altering the last used color, a different background color was used for some lines than for the labels in this line.
Solution: Now, wherever background colors are used, they are determined in the same way. A background color is always determined for each line and then used within the line.
This should make the backgrounds of the labels synchronous with the line background again.
Test
No test.