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