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

increase space around the toggle button's text

This commit is contained in:
Michael Zanetti 2012-08-03 22:08:15 +02:00
parent 76ccd71c51
commit c6101fb35b
3 changed files with 4 additions and 4 deletions

View File

@ -91,9 +91,9 @@ ContextWidget::ContextWidget( QWidget* parent )
ui->toggleButton->setFont( 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 );
setFixedHeight( m_minHeight );

View File

@ -42,7 +42,7 @@ QueueView::QueueView( AnimatedSplitter* parent )
setContentsMargins( 0, 0, 0, 0 );
QFont f;
f.setPointSize( 9 );
f.setPointSize( 10 );
QFontMetrics fm( f );
setHiddenSize( QSize( 0, fm.height() * 1.2 ) );

View File

@ -41,7 +41,7 @@ HeaderLabel::HeaderLabel( QWidget* parent )
QFontMetrics fm( f );
setFont( f );
setFixedHeight( fm.height() * 1.2 );
setFixedHeight( fm.height() * 1.4 );
setMouseTracking( true );
}