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
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
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.