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:
Mark Furneaux 2014-05-14 22:10:39 -04:00
parent 9d118345c0
commit 20be94ee51
1 changed files with 5 additions and 0 deletions

View File

@ -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() {