QFontMetrics::boundingRect doesn't return the right size for this
font size for some reason, while it works well if we remove the
smaller point size adjustment for the progress font.
To avoid having to debug the font system in Qt just increase the
existing +2px adjustment to +5px so that it renders fine.
// Sizes-Text
QRect octetRect = progressFm.boundingRect(QRect(), 0, overallString );
- int progressTextWidth = octetRect.width() + 2;
+ int progressTextWidth = octetRect.width() + 5;
// Overall Progress Bar.
QRect pBRect;