From fd3c3dd3d4cd9aebc282d2da8991b5818cc55b13 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 21 Aug 2014 21:28:38 +0200 Subject: [PATCH] * Make enough room for CaptionLabel. --- src/libtomahawk/widgets/CaptionLabel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/widgets/CaptionLabel.cpp b/src/libtomahawk/widgets/CaptionLabel.cpp index 09be33fee..109e0f4cb 100644 --- a/src/libtomahawk/widgets/CaptionLabel.cpp +++ b/src/libtomahawk/widgets/CaptionLabel.cpp @@ -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 );