OTHER: textscroller ignored trailing space after seperator
This commit is contained in:
parent
cbcffe4b94
commit
fa2c5ec9da
1 changed files with 2 additions and 2 deletions
|
|
@ -192,9 +192,9 @@ TextScroller::drawQtFont (QString text)
|
|||
|
||||
if (rect.width() > width ()) {
|
||||
temp += QString (" *** ");
|
||||
QRect rect = fM.boundingRect (temp);
|
||||
int w = fM.width (temp);
|
||||
|
||||
m_pixmap = QPixmap (rect.width(), height ());
|
||||
m_pixmap = QPixmap (w, height ());
|
||||
} else {
|
||||
m_pixmap = QPixmap (size ());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue