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:
parent
76ccd71c51
commit
c6101fb35b
@ -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 );
|
||||
|
@ -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 ) );
|
||||
|
||||
|
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user