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

* Moved Track page's font definitions to .ui file.

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

View File

@ -71,8 +71,6 @@ TrackInfoWidget::TrackInfoWidget( const Tomahawk::query_ptr& query, QWidget* par
{
QFont f = ui->trackLabel->font();
f.setFamily( "Titillium Web" );
f.setPointSize( TomahawkUtils::defaultFontSize() + 16 );
f.setBold( true );
QPalette p = ui->trackLabel->palette();
p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_LABEL );
@ -84,7 +82,6 @@ TrackInfoWidget::TrackInfoWidget( const Tomahawk::query_ptr& query, QWidget* par
{
QFont f = ui->artistLabel->font();
f.setFamily( "Titillium Web" );
f.setPointSize( TomahawkUtils::defaultFontSize() + 10 );
QPalette p = ui->artistLabel->palette();
p.setColor( QPalette::Foreground, TomahawkStyle::HEADER_TEXT );

View File

@ -77,7 +77,7 @@
</property>
<property name="font">
<font>
<pointsize>20</pointsize>
<pointsize>26</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
@ -100,7 +100,7 @@
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
<pointsize>20</pointsize>
</font>
</property>
<property name="text">
@ -155,7 +155,7 @@
</property>
<property name="maximumSize">
<size>
<width>220</width>
<width>440</width>
<height>16777215</height>
</size>
</property>