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:
parent
13cdabdf89
commit
cecc27b7c0
@ -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 );
|
||||
|
@ -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;
|
||||
|
||||
|
@ -87,7 +87,7 @@ QueryLabel::init()
|
||||
setMouseTracking( true );
|
||||
|
||||
setAlignment( Qt::AlignLeft | Qt::AlignVCenter );
|
||||
m_mode = Qt::ElideMiddle;
|
||||
m_mode = Qt::ElideRight;
|
||||
m_hovering = false;
|
||||
}
|
||||
|
||||
|
@ -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() ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user