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:
parent
d98859eabb
commit
b8a78abe06
@ -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()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user