mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 02:54:33 +02:00
fix QueueView hidden height with new font sizes
This commit is contained in:
@@ -41,7 +41,10 @@ QueueView::QueueView( AnimatedSplitter* parent )
|
||||
TomahawkUtils::unmarginLayout( layout() );
|
||||
setContentsMargins( 0, 0, 0, 0 );
|
||||
|
||||
setHiddenSize( QSize( 0, 22 ) );
|
||||
QFont f;
|
||||
f.setPointSize( 10 );
|
||||
QFontMetrics fm( f );
|
||||
setHiddenSize( QSize( 0, fm.height() * 1.1 ) );
|
||||
|
||||
ui->queue->setProxyModel( new QueueProxyModel( ui->queue ) );
|
||||
ui->queue->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Ignored );
|
||||
|
Reference in New Issue
Block a user