1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-04 21:27:58 +02:00

* A few more tweaks to artist page.

This commit is contained in:
Christian Muehlhaeuser
2013-06-14 02:19:47 +02:00
parent 5238105781
commit e79935c1ca
2 changed files with 9 additions and 13 deletions

View File

@@ -121,7 +121,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
ui->cover->setShowText( false ); ui->cover->setShowText( false );
{ {
QFont f = font(); QFont f = ui->biography->font();
f.setPointSize( f.pointSize() + 1 ); f.setPointSize( f.pointSize() + 1 );
f.setFamily( "Titillium Web" ); f.setFamily( "Titillium Web" );
@@ -143,10 +143,10 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
} }
{ {
QFont f = ui->biography->font(); QFont f = ui->artistLabel->font();
f.setPointSize( f.pointSize() + 2 ); f.setFamily( "Titillium Web" );
QPalette p = ui->biography->palette(); QPalette p = ui->artistLabel->palette();
p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_TEXT ); p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_TEXT );
ui->artistLabel->setFont( f ); ui->artistLabel->setFont( f );
@@ -157,9 +157,8 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
QFont f = ui->label->font(); QFont f = ui->label->font();
f.setBold( false ); f.setBold( false );
f.setFamily( "Fauna One" ); f.setFamily( "Fauna One" );
f.setPointSize( f.pointSize() + 2 );
QPalette p = ui->biography->palette(); QPalette p = ui->label->palette();
p.setColor( QPalette::Foreground, TomahawkStyle::PAGE_CAPTION ); p.setColor( QPalette::Foreground, TomahawkStyle::PAGE_CAPTION );
ui->label->setFont( f ); ui->label->setFont( f );
@@ -172,7 +171,6 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
QFont f = ui->albumLabel->font(); QFont f = ui->albumLabel->font();
f.setBold( false ); f.setBold( false );
f.setFamily( "Fauna One" ); f.setFamily( "Fauna One" );
f.setPointSize( f.pointSize() + 2 );
QPalette p = ui->biography->palette(); QPalette p = ui->biography->palette();
p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_TEXT ); p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_TEXT );

View File

@@ -77,7 +77,7 @@
</property> </property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>18</pointsize> <pointsize>20</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
@@ -218,7 +218,7 @@
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="font"> <property name="font">
<font> <font>
<pointsize>18</pointsize> <pointsize>20</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
@@ -275,8 +275,7 @@
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="font"> <property name="font">
<font> <font>
<family>Arial</family> <pointsize>20</pointsize>
<pointsize>18</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
@@ -385,8 +384,7 @@
<widget class="QLabel" name="albumLabel"> <widget class="QLabel" name="albumLabel">
<property name="font"> <property name="font">
<font> <font>
<family>Arial</family> <pointsize>20</pointsize>
<pointsize>18</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>