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

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

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