1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Elide right by default everywhere.

This commit is contained in:
Christian Muehlhaeuser 2014-09-26 09:07:07 +02:00
parent 13cdabdf89
commit cecc27b7c0
4 changed files with 2 additions and 4 deletions

View File

@ -82,7 +82,6 @@ ColumnViewPreviewWidget::ColumnViewPreviewWidget( ColumnView* parent )
m_artistLabel = new QueryLabel( this );
m_artistLabel->setContentsMargins( 6, 2, 6, 2 );
m_artistLabel->setElideMode( Qt::ElideMiddle );
m_artistLabel->setType( QueryLabel::Artist );
m_artistLabel->setAlignment( Qt::AlignCenter );
font.setPointSize( TomahawkUtils::defaultFontSize() + 5 );

View File

@ -129,7 +129,7 @@ ElidedLabel::init( const QString& txt )
{
m_text = txt;
m_align = Qt::AlignLeft;
m_mode = Qt::ElideMiddle;
m_mode = Qt::ElideRight;
m_margin = 0;
m_multiLine = false;

View File

@ -87,7 +87,7 @@ QueryLabel::init()
setMouseTracking( true );
setAlignment( Qt::AlignLeft | Qt::AlignVCenter );
m_mode = Qt::ElideMiddle;
m_mode = Qt::ElideRight;
m_hovering = false;
}

View File

@ -101,7 +101,6 @@ TrackInfoWidget::TrackInfoWidget( const Tomahawk::query_ptr& query, QWidget* par
{
ui->artistLabel->setContentsMargins( 6, 2, 6, 2 );
ui->artistLabel->setElideMode( Qt::ElideMiddle );
ui->artistLabel->setType( QueryLabel::Artist );
connect( ui->artistLabel, SIGNAL( clickedArtist() ), SLOT( onArtistClicked() ) );