mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Make enough room for CaptionLabel.
This commit is contained in:
@@ -34,7 +34,7 @@ CaptionLabel::CaptionLabel( QWidget* parent )
|
|||||||
f.setPointSize( 10 );
|
f.setPointSize( 10 );
|
||||||
setFont( f );
|
setFont( f );
|
||||||
|
|
||||||
setFixedHeight( TomahawkUtils::defaultFontHeight() * 1.4 );
|
setFixedHeight( QFontMetrics( f ).height() + 12 );
|
||||||
setMouseTracking( true );
|
setMouseTracking( true );
|
||||||
|
|
||||||
setShowCloseButton( m_showCloseButton );
|
setShowCloseButton( m_showCloseButton );
|
||||||
|
Reference in New Issue
Block a user