mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-14 13:01:53 +02:00
* Some more font-size fixes.
This commit is contained in:
parent
82d3f3f4f2
commit
6f1f38f22b
@ -69,7 +69,7 @@ ContextProxyPage::setPage( Tomahawk::ContextPage* page )
|
||||
|
||||
QFont f( font() );
|
||||
f.setBold( true );
|
||||
f.setPointSize( 8 );
|
||||
f.setPointSize( TomahawkUtils::defaultFontSize() - 1 );
|
||||
QFontMetrics fm( f );
|
||||
QGraphicsLinearLayout* layout = new QGraphicsLinearLayout();
|
||||
layout->setContentsMargins( 4, fm.height() * 1.1, 4, 4 );
|
||||
|
@ -64,15 +64,15 @@ TrackInfoWidget::TrackInfoWidget( const Tomahawk::query_ptr& query, QWidget* par
|
||||
|
||||
QFont f = font();
|
||||
f.setBold( true );
|
||||
f.setPixelSize( 18 );
|
||||
f.setPointSize( TomahawkUtils::defaultFontSize() + 8 );
|
||||
ui->trackLabel->setFont( f );
|
||||
// ui->similarTracksLabel->setFont( f );
|
||||
|
||||
f.setPixelSize( 14 );
|
||||
f.setPointSize( TomahawkUtils::defaultFontSize() + 5 );
|
||||
ui->artistLabel->setFont( f );
|
||||
ui->albumLabel->setFont( f );
|
||||
|
||||
f.setPixelSize( 12 );
|
||||
f.setPointSize( TomahawkUtils::defaultFontSize() + 3 );
|
||||
ui->statsLabel->setFont( f );
|
||||
|
||||
// ui->similarTracksView->setStyleSheet( "QListView { background-color: transparent; } QListView::item { background-color: transparent; }" );
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include "AccountsToolButton.h"
|
||||
|
||||
#include "AccountListWidget.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
|
||||
#include <QLabel>
|
||||
#include <QListView>
|
||||
@ -51,7 +51,7 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
|
||||
|
||||
QFont clFont = connectionsLabel->font();
|
||||
clFont.setBold( true );
|
||||
clFont.setPointSize( 12 );
|
||||
clFont.setPointSize( TomahawkUtils::defaultFontSize() + 3 );
|
||||
connectionsLabel->setFont( clFont );
|
||||
connectionsLabel->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Preferred );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user