1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 16:44:05 +02:00

And don't stretch it either more than necessary.

This commit is contained in:
Teo Mrnjavac
2014-01-09 17:23:30 +01:00
parent c7318649f3
commit adcca37376

View File

@@ -87,7 +87,7 @@ ColumnViewPreviewWidget::ColumnViewPreviewWidget( ColumnView* parent )
QHBoxLayout* artistLayout = new QHBoxLayout; QHBoxLayout* artistLayout = new QHBoxLayout;
artistLayout->addStretch(); artistLayout->addStretch();
artistLayout->addWidget( m_artistLabel ); artistLayout->addWidget( m_artistLabel );
m_artistLabel->setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::Preferred ); m_artistLabel->setSizePolicy( QSizePolicy::Minimum, QSizePolicy::Preferred );
artistLayout->addStretch(); artistLayout->addStretch();
mainLayout->addLayout( artistLayout ); mainLayout->addLayout( artistLayout );