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:
@@ -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 ) );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user