1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 16:44:05 +02:00

Fix column view preview widget on high DPI and/or big system font sizes.

This commit is contained in:
Teo Mrnjavac
2013-12-06 19:29:28 +01:00
parent da85993000
commit 7c13aeca6d

View File

@@ -26,6 +26,7 @@
#include "utils/Logger.h"
#include "Source.h"
#include "utils/TomahawkUtilsGui.h"
#include "utils/DpiScaler.h"
using namespace Tomahawk;
@@ -117,6 +118,8 @@ ColumnViewPreviewWidget::setQuery( const Tomahawk::query_ptr& query )
ui->ageLabel->setVisible( false );
ui->ageValue->setVisible( false );
}
setMinimumHeight( TomahawkUtils::DpiScaler::scaledY( this, 480 ) );
}