mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 08:04:25 +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 )
|
else if ( newHeight > 0 )
|
||||||
{
|
{
|
||||||
m_proxyModel->setMaxVisibleItems( m_model->rowCount( QModelIndex() ) - overlapRows );
|
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