1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 17:14:00 +02:00

* Switch track and artist name in AudioControls and make artist smaller.

This commit is contained in:
Christian Muehlhaeuser
2014-08-20 07:25:31 +02:00
parent 2251401cef
commit 7611a5546d
2 changed files with 7 additions and 7 deletions

View File

@@ -64,17 +64,16 @@ AudioControls::AudioControls( QWidget* parent )
QFont f = font();
f.setPointSize( 13 );
ui->trackLabel->setFont( f );
f.setPointSize( 11 );
ui->dashLabel->setFont( f );
ui->artistLabel->setFont( f );
ui->trackLabel->setFont( f );
ui->artistLabel->setElideMode( Qt::ElideNone );
ui->trackLabel->setElideMode( Qt::ElideNone );
ui->artistLabel->setType( QueryLabel::Artist );
ui->trackLabel->setType( QueryLabel::Track );
f.setPointSize( 11 );
QPalette queryLabelsPalette = ui->artistLabel->palette();
queryLabelsPalette.setColor( QPalette::Foreground, Qt::white );
ui->artistLabel->setPalette( queryLabelsPalette );
@@ -83,6 +82,7 @@ AudioControls::AudioControls( QWidget* parent )
ui->timeLabel->setPalette( queryLabelsPalette );
ui->timeLeftLabel->setPalette( queryLabelsPalette );
f.setPointSize( 11 );
ui->timeLabel->setFont( f );
ui->timeLeftLabel->setFont( f );

View File

@@ -66,9 +66,9 @@
</widget>
</item>
<item>
<widget class="QueryLabel" name="artistLabel">
<widget class="QueryLabel" name="trackLabel">
<property name="text">
<string notr="true">Artist</string>
<string notr="true">Track</string>
</property>
</widget>
</item>
@@ -80,9 +80,9 @@
</widget>
</item>
<item>
<widget class="QueryLabel" name="trackLabel">
<widget class="QueryLabel" name="artistLabel">
<property name="text">
<string notr="true">Track</string>
<string notr="true">Artist</string>
</property>
</widget>
</item>