1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 17:29:42 +01:00

Proper spacing in ColumnViewPreviewWidget

This commit is contained in:
Teo Mrnjavac 2014-01-20 14:44:38 +01:00
parent 9b66999263
commit a4e5f9ea71

View File

@ -75,7 +75,11 @@ ColumnViewPreviewWidget::ColumnViewPreviewWidget( ColumnView* parent )
m_trackLabel->setFont( font );
m_trackLabel->setFixedHeight( QFontMetrics( font ).height() + 6 );
m_trackLabel->setAlignment( Qt::AlignCenter );
mainLayout->addWidget( m_trackLabel );
QHBoxLayout* trackLayout = new QHBoxLayout;
trackLayout->addSpacing( 3 );
trackLayout->addWidget( m_trackLabel );
trackLayout->addSpacing( 3 );
mainLayout->addLayout( trackLayout );
m_artistLabel = new QueryLabel( this );
m_artistLabel->setContentsMargins( 6, 2, 6, 2 );