1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-23 07:50:13 +01:00

Don't wrap text in the loading indicator. Fixes issue #1028

This commit is contained in:
David Sansome 2010-12-11 15:01:01 +00:00
parent d98859eabb
commit b8a78abe06

View File

@ -81,5 +81,6 @@ void MultiLoadingIndicator::paintEvent(QPaintEvent*) {
kVerticalPadding, kVerticalPadding,
width() - kHorizontalPadding*2 - spinner_->sizeHint().width() - kSpacing, width() - kHorizontalPadding*2 - spinner_->sizeHint().width() - kSpacing,
height() - kVerticalPadding*2); height() - kVerticalPadding*2);
p.drawText(text_rect, fontMetrics().elidedText(text_, Qt::ElideRight, text_rect.width())); p.drawText(text_rect, Qt::TextSingleLine | Qt::AlignLeft,
fontMetrics().elidedText(text_, Qt::ElideRight, text_rect.width()));
} }