From a4e5f9ea71312450771e01d2a8f5abacfd2acb0d Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Mon, 20 Jan 2014 14:44:38 +0100 Subject: [PATCH] Proper spacing in ColumnViewPreviewWidget --- src/libtomahawk/playlist/ColumnViewPreviewWidget.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/ColumnViewPreviewWidget.cpp b/src/libtomahawk/playlist/ColumnViewPreviewWidget.cpp index 56290a8cc..873f5b0a6 100644 --- a/src/libtomahawk/playlist/ColumnViewPreviewWidget.cpp +++ b/src/libtomahawk/playlist/ColumnViewPreviewWidget.cpp @@ -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 );