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

* Use lighter font for biography.

This commit is contained in:
Christian Muehlhaeuser
2014-08-17 04:22:12 +02:00
parent e6becbea45
commit cd3c0750a0

View File

@@ -126,13 +126,14 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
{
QFont f = ui->biography->font();
f.setPointSize( 14 );
f.setWeight( QFont::Light );
f.setPointSize( 13 );
ui->biography->setFont( f );
ui->biography->setOpenLinks( false );
ui->biography->setOpenExternalLinks( true );
ui->biography->document()->setDefaultStyleSheet( QString( "a { text-decoration: none; font-weight: bold; color: %1; }" ).arg( TomahawkStyle::HEADER_LINK.name() ) );
ui->biography->document()->setDefaultStyleSheet( QString( "a { text-decoration: none; font-weight: bold; color: #000000; }" ) );
TomahawkStyle::stylePageFrame( ui->biography );
TomahawkStyle::stylePageFrame( ui->bioFrame );
TomahawkStyle::styleScrollBar( ui->biography->verticalScrollBar() );