mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-19 23:41:51 +02:00
Use DpiScaler for a fixed column width.
This commit is contained in:
parent
903bd0ee4b
commit
3299dc14d6
@ -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() );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user