Change height on details change
When the details change, the height is updated so if the details now span more or fewer lines we can accompany that
This commit is contained in:
parent
9d118345c0
commit
20be94ee51
|
@ -264,6 +264,11 @@ void NowPlayingWidget::UpdateDetailsText() {
|
|||
|
||||
html += "</p>";
|
||||
details_->setHtml(html);
|
||||
|
||||
// if something spans multiple lines the height needs to change
|
||||
if (mode_ == LargeSongDetailsBelow) {
|
||||
UpdateHeight();
|
||||
}
|
||||
}
|
||||
|
||||
void NowPlayingWidget::ScaleCover() {
|
||||
|
|
Loading…
Reference in New Issue