Reposition PlaylistSlider when list contents changes or something is resized.
This commit is contained in:
parent
c4affb2619
commit
103e016cbd
4 changed files with 51 additions and 10 deletions
|
@ -606,6 +606,7 @@ PlaylistList::addItem (PlaylistItem *i)
|
|||
}
|
||||
if (m_items->count()*getFontH () > size().height()) {
|
||||
resize (size().width(), m_items->count ()*getFontH ());
|
||||
emit sizeChanged (size());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue