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

* Make enough room for CaptionLabel.

This commit is contained in:
Christian Muehlhaeuser 2014-08-21 21:28:38 +02:00
parent 3acefd613e
commit fd3c3dd3d4

View File

@ -34,7 +34,7 @@ CaptionLabel::CaptionLabel( QWidget* parent )
f.setPointSize( 10 );
setFont( f );
setFixedHeight( TomahawkUtils::defaultFontHeight() * 1.4 );
setFixedHeight( QFontMetrics( f ).height() + 12 );
setMouseTracking( true );
setShowCloseButton( m_showCloseButton );