1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

* Fixed Artist page's header size and moved font definitions to .ui file.

This commit is contained in:
Christian Muehlhaeuser 2013-06-15 04:05:16 +02:00
parent 7befdb9594
commit 93c696e2b4
2 changed files with 8 additions and 6 deletions

View File

@ -126,7 +126,6 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
{
QFont f = ui->biography->font();
f.setPointSize( f.pointSize() + 3 );
f.setFamily( "Titillium Web" );
QPalette p = ui->biography->palette();
@ -149,8 +148,6 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
{
QFont f = ui->artistLabel->font();
f.setFamily( "Titillium Web" );
f.setPointSize( TomahawkUtils::defaultFontSize() + 16 );
f.setBold( true );
QPalette p = ui->artistLabel->palette();
p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_LABEL );

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>965</width>
<height>822</height>
<height>831</height>
</rect>
</property>
<property name="windowTitle">
@ -77,7 +77,7 @@
</property>
<property name="font">
<font>
<pointsize>20</pointsize>
<pointsize>26</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
@ -101,9 +101,14 @@
<property name="minimumSize">
<size>
<width>0</width>
<height>220</height>
<height>190</height>
</size>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>