1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 08:04:25 +02:00

Don't stretch the artist label too much.

This commit is contained in:
Teo Mrnjavac
2014-01-08 18:00:07 +01:00
parent c86b5ab74e
commit 53dd0848a6

View File

@@ -84,7 +84,11 @@ ColumnViewPreviewWidget::ColumnViewPreviewWidget( ColumnView* parent )
connect( m_artistLabel, SIGNAL( clickedArtist() ), SLOT( onArtistClicked() ) );
font.setPointSize( TomahawkUtils::defaultFontSize() + 5 );
m_artistLabel->setFont( font );
mainLayout->addWidget( m_artistLabel );
QHBoxLayout* artistLayout = new QHBoxLayout;
artistLayout->addStretch();
artistLayout->addWidget( m_artistLabel );
artistLayout->addStretch();
mainLayout->addLayout( artistLayout );
#ifndef Q_OS_MAC //we don't need to scale on OSX anyway
mainLayout->addSpacing( TomahawkUtils::DpiScaler::scaledY( this, 16 ) );