1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-04 13:17:34 +02: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
committed by Michael Zanetti
parent 1af86b3257
commit 4145bf14f8
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(); QFont f = ui->biography->font();
f.setPointSize( f.pointSize() + 3 );
f.setFamily( "Titillium Web" ); f.setFamily( "Titillium Web" );
QPalette p = ui->biography->palette(); QPalette p = ui->biography->palette();
@@ -149,8 +148,6 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
{ {
QFont f = ui->artistLabel->font(); QFont f = ui->artistLabel->font();
f.setFamily( "Titillium Web" ); f.setFamily( "Titillium Web" );
f.setPointSize( TomahawkUtils::defaultFontSize() + 16 );
f.setBold( true );
QPalette p = ui->artistLabel->palette(); QPalette p = ui->artistLabel->palette();
p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_LABEL ); p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_LABEL );

View File

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