mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
Use DpiScaler for a fixed column width.
This commit is contained in:
@@ -258,6 +258,6 @@ ColumnViewPreviewWidget::onArtistClicked()
|
||||
QSize
|
||||
ColumnViewPreviewWidget::minimumSize() const
|
||||
{
|
||||
int minWidth = qMax( m_trackLabel->sizeHint().width() + 32, m_artistLabel->sizeHint().width() + 32 );
|
||||
int minWidth = TomahawkUtils::DpiScaler::scaledX( this, 280 );
|
||||
return QSize( qMax( minWidth, 348 ), minimumHeight() );
|
||||
}
|
||||
|
Reference in New Issue
Block a user