On the simple view the lines are not positioned correctly and overwritten by the text:
Fixed:
The detailed view is still working.
Description:
The formula is calculating the y position of the next line (works for both simple and detailed view) and then subtracts one line height.
Moving the calculation of the y position to a dedicated variable just makes the code easier to read. The compiler would have calculated it only once anyway.
On the simple view the lines are not positioned correctly and overwritten by the text:
Fixed:
The detailed view is still working.
Description: The formula is calculating the y position of the next line (works for both simple and detailed view) and then subtracts one line height.
Moving the calculation of the y position to a dedicated variable just makes the code easier to read. The compiler would have calculated it only once anyway.