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:
@@ -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() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user