mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-03 20:57:52 +02:00
increase space around the toggle button's text
This commit is contained in:
@@ -91,9 +91,9 @@ ContextWidget::ContextWidget( QWidget* parent )
|
|||||||
ui->toggleButton->setFont( boldFont );
|
ui->toggleButton->setFont( boldFont );
|
||||||
QFontMetrics fm( boldFont );
|
QFontMetrics fm( boldFont );
|
||||||
|
|
||||||
m_minHeight = fm.height() * 1.1;
|
m_minHeight = fm.height() * 1.2;
|
||||||
|
|
||||||
ui->toggleButton->setMinimumHeight( fm.height() );
|
ui->toggleButton->setMinimumHeight( fm.height() * 1.2 );
|
||||||
|
|
||||||
setAutoFillBackground( true );
|
setAutoFillBackground( true );
|
||||||
setFixedHeight( m_minHeight );
|
setFixedHeight( m_minHeight );
|
||||||
|
@@ -42,7 +42,7 @@ QueueView::QueueView( AnimatedSplitter* parent )
|
|||||||
setContentsMargins( 0, 0, 0, 0 );
|
setContentsMargins( 0, 0, 0, 0 );
|
||||||
|
|
||||||
QFont f;
|
QFont f;
|
||||||
f.setPointSize( 9 );
|
f.setPointSize( 10 );
|
||||||
QFontMetrics fm( f );
|
QFontMetrics fm( f );
|
||||||
setHiddenSize( QSize( 0, fm.height() * 1.2 ) );
|
setHiddenSize( QSize( 0, fm.height() * 1.2 ) );
|
||||||
|
|
||||||
|
@@ -41,7 +41,7 @@ HeaderLabel::HeaderLabel( QWidget* parent )
|
|||||||
QFontMetrics fm( f );
|
QFontMetrics fm( f );
|
||||||
|
|
||||||
setFont( f );
|
setFont( f );
|
||||||
setFixedHeight( fm.height() * 1.2 );
|
setFixedHeight( fm.height() * 1.4 );
|
||||||
setMouseTracking( true );
|
setMouseTracking( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user