1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

* Set a minimum size (& hint) to make the layout on artist page behave.

This commit is contained in:
Christian Muehlhaeuser
2014-09-21 17:19:21 +02:00
parent 6eb22ce6e7
commit c281a57a6c

View File

@@ -303,7 +303,10 @@ GridView::verifySize()
else if ( newHeight > 0 )
{
m_proxyModel->setMaxVisibleItems( m_model->rowCount( QModelIndex() ) - overlapRows );
setFixedHeight( newHeight + spacing() );
m_sizeHint = QSize( QListView::sizeHint().width(), newHeight + spacing() );
updateGeometry();
setMinimumHeight( newHeight + spacing() );
}
}