From e79935c1ca6870e0f12031cfe0e14f13c6b0bfd6 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 14 Jun 2013 02:19:47 +0200 Subject: [PATCH] * A few more tweaks to artist page. --- .../widgets/infowidgets/ArtistInfoWidget.cpp | 12 +++++------- .../widgets/infowidgets/ArtistInfoWidget.ui | 10 ++++------ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp index 973a30e5b..cfc71b845 100644 --- a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp +++ b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp @@ -121,7 +121,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget* ui->cover->setShowText( false ); { - QFont f = font(); + QFont f = ui->biography->font(); f.setPointSize( f.pointSize() + 1 ); f.setFamily( "Titillium Web" ); @@ -143,10 +143,10 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget* } { - QFont f = ui->biography->font(); - f.setPointSize( f.pointSize() + 2 ); + QFont f = ui->artistLabel->font(); + f.setFamily( "Titillium Web" ); - QPalette p = ui->biography->palette(); + QPalette p = ui->artistLabel->palette(); p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_TEXT ); ui->artistLabel->setFont( f ); @@ -157,9 +157,8 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget* QFont f = ui->label->font(); f.setBold( false ); 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 ); ui->label->setFont( f ); @@ -172,7 +171,6 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget* QFont f = ui->albumLabel->font(); f.setBold( false ); f.setFamily( "Fauna One" ); - f.setPointSize( f.pointSize() + 2 ); QPalette p = ui->biography->palette(); p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_TEXT ); diff --git a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.ui b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.ui index 96c59331d..7a800570f 100644 --- a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.ui +++ b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.ui @@ -77,7 +77,7 @@ - 18 + 20 75 true @@ -218,7 +218,7 @@ - 18 + 20 75 true @@ -275,8 +275,7 @@ - Arial - 18 + 20 75 true @@ -385,8 +384,7 @@ - Arial - 18 + 20 75 true