This patch fixes several errors in the code:
- The property is named font.minimumPixelSize, not minimumPixelSize
- The calculation in minimumPixelSize did not make sense
- Setting the height to dateLabel.paintedHeight is nonsensical
BUG: 417852
FIXED-IN: 5.18.4