mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 08:04:25 +02:00
* Set captions to non-bold in .ui.
This commit is contained in:
@@ -85,11 +85,6 @@ Dashboard::Dashboard( QWidget* parent )
|
|||||||
ui->tracksView->setAttribute( Qt::WA_MacShowFocusRect, 0 );
|
ui->tracksView->setAttribute( Qt::WA_MacShowFocusRect, 0 );
|
||||||
ui->tracksView->setStyleSheet( "QTreeView { background-color: transparent; }" );
|
ui->tracksView->setStyleSheet( "QTreeView { background-color: transparent; }" );
|
||||||
TomahawkStyle::stylePageFrame( ui->trackFrame );
|
TomahawkStyle::stylePageFrame( ui->trackFrame );
|
||||||
|
|
||||||
QFont f;
|
|
||||||
f.setBold( true );
|
|
||||||
QFontMetrics fm( f );
|
|
||||||
ui->tracksView->setMinimumWidth( fm.width( tr( "Recently played tracks" ) ) * 2 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -132,7 +127,6 @@ Dashboard::Dashboard( QWidget* parent )
|
|||||||
|
|
||||||
{
|
{
|
||||||
QFont f = ui->label->font();
|
QFont f = ui->label->font();
|
||||||
f.setBold( false );
|
|
||||||
f.setFamily( "Fauna One" );
|
f.setFamily( "Fauna One" );
|
||||||
|
|
||||||
QPalette p = ui->label->palette();
|
QPalette p = ui->label->palette();
|
||||||
@@ -146,7 +140,6 @@ Dashboard::Dashboard( QWidget* parent )
|
|||||||
|
|
||||||
{
|
{
|
||||||
QFont f = ui->playlistLabel->font();
|
QFont f = ui->playlistLabel->font();
|
||||||
f.setBold( false );
|
|
||||||
f.setFamily( "Fauna One" );
|
f.setFamily( "Fauna One" );
|
||||||
|
|
||||||
QPalette p = ui->playlistLabel->palette();
|
QPalette p = ui->playlistLabel->palette();
|
||||||
|
@@ -81,8 +81,8 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>20</pointsize>
|
<pointsize>20</pointsize>
|
||||||
<weight>75</weight>
|
<weight>50</weight>
|
||||||
<bold>true</bold>
|
<bold>false</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@@ -137,9 +137,10 @@
|
|||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="label_2">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
|
<family>Arial</family>
|
||||||
<pointsize>20</pointsize>
|
<pointsize>20</pointsize>
|
||||||
<weight>75</weight>
|
<weight>50</weight>
|
||||||
<bold>true</bold>
|
<bold>false</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@@ -247,8 +248,8 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>20</pointsize>
|
<pointsize>20</pointsize>
|
||||||
<weight>75</weight>
|
<weight>50</weight>
|
||||||
<bold>true</bold>
|
<bold>false</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
Reference in New Issue
Block a user