mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 23:57:34 +02:00
* Don't cut off fonts in HeaderLabel.
This commit is contained in:
@@ -38,7 +38,6 @@ HeaderLabel::HeaderLabel( QWidget* parent )
|
|||||||
|
|
||||||
setFont( f );
|
setFont( f );
|
||||||
setFixedHeight( sizeHint().height() + 6 );
|
setFixedHeight( sizeHint().height() + 6 );
|
||||||
qDebug() << "FOOBAR:" << minimumSize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +79,7 @@ HeaderLabel::paintEvent( QPaintEvent* event )
|
|||||||
p.drawLine( line );
|
p.drawLine( line );
|
||||||
}
|
}
|
||||||
|
|
||||||
r.adjust( 8, 3, -8, -3 );
|
r.adjust( 8, 2, -8, -2 );
|
||||||
p.setPen( Qt::white );
|
p.setPen( Qt::white );
|
||||||
p.drawText( r, text() );
|
p.drawText( r, text() );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user