Use boundingRect of TextMetrics to compute the correct sizes
BUG: 407337
ensure all font.pointSize are set to integer values
ngraham |
Elisa |
Use boundingRect of TextMetrics to compute the correct sizes
BUG: 407337
ensure all font.pointSize are set to integer values
Everything is looking fine
No Linters Available |
No Unit Test Coverage |
Buildable 11807 | |
Build 11825: arc lint + arc unit |
Thanks, this fixes the problem in the playlist. I notice it's still there in the Frequently Played and Tracks lists, though:
Also in a future patch, it might make sense to replace all these occurrences of Math.round(elisaTheme.defaultFontPointSize * [something]) with a new global variables defining fixed font sizes that are multiples of the default size. Then they could all be adjusted in one place.
Thanks a lot for your feedback.
Also in a future patch, it might make sense to replace all these occurrences of Math.round(elisaTheme.defaultFontPointSize * [something]) with a new global variables defining fixed font sizes that are multiples of the default size. Then they could all be adjusted in one place.
Sure, I should have done it earlier.